]> granicus.if.org Git - php/commitdiff
- Fixed expectancy in for SQL query <select convert(datetime, "notadate")>
authorTimm Friebe <thekid@php.net>
Tue, 22 May 2007 11:38:57 +0000 (11:38 +0000)
committerTimm Friebe <thekid@php.net>
Tue, 22 May 2007 11:38:57 +0000 (11:38 +0000)
  This query should return bool(false) and not a resource() because
  the above is a syntax error
# Exact message yielded by SQL server is the following:
# "Syntax error during explicit conversion of VARCHAR value `notadate`
# to a DATETIME field.

ext/sybase_ct/tests/test_msghandler_handled.phpt

index 9c4fcb3b4b89ed9d3958aa075be343efa405542d..5952c3b00b6e5b0561218d2376e5c9ba4e85d32b 100644 (file)
@@ -65,6 +65,5 @@ Cannot handle message #249
 
 Warning: sybase_query(): Sybase:  Server message:  Syntax error during explicit conversion of VARCHAR value 'notadate' to a DATETIME field.
  (severity 16, procedure N/A) in %s on line %d
-<<< Return: resource
-array(0) {
-}
+<<< Return: boolean
+bool(false)