diff options
author | Nathan Gass | 2016-08-10 12:06:44 +0200 |
---|---|---|
committer | Nathan Gass | 2016-08-10 12:17:11 +0200 |
commit | 66d93756b9baa30b1093a9e6dae913874b3aeb0f (patch) | |
tree | 6b3aeffa02c074485677d9d5f88df0fe36944d9a | |
parent | 3df8bdf87d233254db931b9d91a26b33c8e36aa8 (diff) | |
download | itools-66d93756b9baa30b1093a9e6dae913874b3aeb0f.tar.gz itools-66d93756b9baa30b1093a9e6dae913874b3aeb0f.tar.bz2 itools-66d93756b9baa30b1093a9e6dae913874b3aeb0f.zip |
add test for latin1 select
-rwxr-xr-x | tests/it_dbi.t | 5 |
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 ( |