summaryrefslogtreecommitdiff
path: root/ext/sybase_ct
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2004-01-24 15:18:52 +0000
committerTimm Friebe <thekid@php.net>2004-01-24 15:18:52 +0000
commite36cfeb0a9cda2399627910785e68fa5b3689269 (patch)
tree5fe3e3fa47ad406ca94c2b065be8ccd5413c8bda /ext/sybase_ct
parented135edbdab475a68e32414b8f4c1d97d1c4a902 (diff)
downloadphp-git-e36cfeb0a9cda2399627910785e68fa5b3689269.tar.gz
- Added test on char type
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r--ext/sybase_ct/tests/test_types.phpt8
1 files 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 "
}
}