mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
- Changed message handler also to handle message #11021
- Adjusted expected output # Seems newer Sybase versions yielf different error codes for getdate(NULL)
This commit is contained in:
parent
ca75503c8f
commit
b9bc7c55d4
@ -20,6 +20,7 @@ Sybase-CT server message handler
|
||||
return;
|
||||
|
||||
case 174: // The function 'GETDATE' requires 0 arguments.
|
||||
case 11021: // Function GETDATE invoked with wrong number or type of argument(s)
|
||||
printf("*** Caught '%s'\n", trim($text));
|
||||
return;
|
||||
}
|
||||
@ -45,7 +46,7 @@ Sybase-CT server message handler
|
||||
--EXPECTF--
|
||||
bool(true)
|
||||
>>> Query: select getdate(NULL)
|
||||
*** Caught 'The function 'GETDATE' requires 0 arguments.'
|
||||
*** Caught '%s'
|
||||
<<< Return: boolean
|
||||
bool(false)
|
||||
>>> Query: print "Hi"
|
||||
|
Loading…
Reference in New Issue
Block a user