From e36cfeb0a9cda2399627910785e68fa5b3689269 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sat, 24 Jan 2004 15:18:52 +0000 Subject: [PATCH] - Added test on char type --- ext/sybase_ct/tests/test_types.phpt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ext/sybase_ct/tests/test_types.phpt b/ext/sybase_ct/tests/test_types.phpt index 41757288c5..27057f1127 100644 --- a/ext/sybase_ct/tests/test_types.phpt +++ b/ext/sybase_ct/tests/test_types.phpt @@ -24,7 +24,8 @@ Sybase-CT select and types convert(datetime, "2004-01-23") as "date", NULL as "null", convert(bit, 1) as "bit", - convert(smalldatetime, "2004-01-23") as "smalldate" + convert(smalldatetime, "2004-01-23") as "smalldate", + convert(char(10), "char") as "char10" ')); sybase_close($db); @@ -42,7 +43,8 @@ Sybase-CT select and types convert(datetime, "2004-01-23") as "date", NULL as "null", convert(bit, 1) as "bit", - convert(smalldatetime, "2004-01-23") as "smalldate" + convert(smalldatetime, "2004-01-23") as "smalldate", + convert(char(10), "char") as "char10" <<< Return: resource array(1) { @@ -72,5 +74,7 @@ array(1) { int(1) ["smalldate"]=> string(19) "Jan 23 2004 12:00AM" + ["char10"]=> + string(10) "char " } } -- 2.50.1