summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNathan Gass2016-08-10 12:06:44 +0200
committerNathan Gass2016-08-10 12:17:11 +0200
commit66d93756b9baa30b1093a9e6dae913874b3aeb0f (patch)
tree6b3aeffa02c074485677d9d5f88df0fe36944d9a /tests
parent3df8bdf87d233254db931b9d91a26b33c8e36aa8 (diff)
downloaditools-66d93756b9baa30b1093a9e6dae913874b3aeb0f.tar.gz
itools-66d93756b9baa30b1093a9e6dae913874b3aeb0f.tar.bz2
itools-66d93756b9baa30b1093a9e6dae913874b3aeb0f.zip
add test for latin1 select
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_dbi.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index ca39f1f..006c4d8 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -275,6 +275,11 @@ is(
);
$GLOBALS['debug_sqllog'] = false;
+# test latin1 (produces warnings on stderr for failing)
+
+$record = new it_dbi(array('table' => 'it_dbi_test', 'charset' => 'latin1'));
+$record->select(array('foo' => "\xc3\x28"));
+
# Test field localization feature
$dbi->query('create temporary table it_dbi_testlocalized (