Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Timm Friebe
15adc0ddaf
- Added test for optional parameter "new" to sybase_connect()
2008-11-10 11:00:48 +00:00
Timm Friebe
12abaadf84
- Added optional parameter "new" to sybase_connect
...
# [DOC] If a second call is made to sybase_connect() with the same arguments
# no new link will be established, but instead, the link identifier of the
# already opened link will be returned. The new parameter modifies this
# behavior and makes sybase_connect() always open a new link, even if
# sybase_connect() was called before with the same parameters.
2008-11-10 10:59:44 +00:00
Timm Friebe
39bd93bc62
- Fixed sybase_close() to actually close connections
...
# Broken during parameter parsing refactoring lately, OK in PHP_5_2
2008-11-09 11:39:14 +00:00
Timm Friebe
4b96eea15f
- Initial release
2008-11-09 11:38:17 +00:00
Timm Friebe
66f5639327
- Initial release
2008-11-09 10:57:09 +00:00
Timm Friebe
7dc8109ff3
- Initial release
2008-11-09 10:44:03 +00:00
Timm Friebe
2268bf47e3
- Added test for sybase_free_result() without full fetch
2008-11-09 10:29:52 +00:00
Timm Friebe
963aa85764
- Initial release
...
# Tests sybase_unbuffered_query() together with sybase_free_result()
2008-11-09 10:26:31 +00:00
Felipe Pena
d5ad77167a
- MFH: Added connection checking on SKIPIF
2008-11-08 15:39:01 +00:00
Timm Friebe
ec17daec29
- Adjusted tests to reality
...
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)
2008-11-08 13:32:29 +00:00
Timm Friebe
8089d14c9a
- Fixed problems with segmentation faults when using unbuffered queries
...
# Double-freeing results caused these
2008-11-08 13:22:14 +00:00
Timm Friebe
9224d4cc6c
- Made this test independent of date format
2008-11-08 13:21:30 +00:00
Timm Friebe
65c5b135d5
- Initial release
2008-11-08 13:21:01 +00:00
Timm Friebe
b99923a434
- QA: Unified error messages in php_sybase_query()
2008-11-08 12:24:52 +00:00
Timm Friebe
927804e288
- Changed while loop in php_sybase_fetch_result_row() to also read rows with
...
retcode == CS_ROW_FAIL.
# Reported by Detlef Neumerkel and Frank Irnich of Sybase
2008-11-08 12:05:46 +00:00
Timm Friebe
87ad2dd067
- Changed source to read host, user and password from environment
...
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
2008-11-08 11:47:35 +00:00
Timm Friebe
847e9922d1
- Made this test independent of field types in master..sysprocesses
...
# char on ASE 11, varchar on ASE 15
2008-11-08 11:46:06 +00:00
Timm Friebe
d40014873f
- Fixed expected warning messages
...
# Changed during migration to parameter parsing API
2008-11-08 11:45:03 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Felipe Pena
b206bac4e9
- Added arginfo
...
- Fixed compile warning
2008-07-01 17:24:10 +00:00
Felipe Pena
899e8d6dea
- Fix check for PHP_SYBASE
2008-07-01 17:03:46 +00:00
Timm Friebe
4a58de4c5c
- Migrated all zend_get_parameters_ex calls to zend_parse_parameters()
...
- Fixed prototype declarations to use the type resource instead of int
- Fixed sybase_close() not to crash when no connection was previously open
2008-06-24 16:33:17 +00:00
Timm Friebe
4920a2f980
- Changed zend_get_parameters_ex -> zend_parse_parameters
...
- Simplified source in php_sybase_do_connect()
# Part 1, more to follow
2008-06-22 10:11:14 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
4cc23cf49d
Fixed bug #43074 (attempt to increment refcount outside of the macro)
2007-10-23 15:21:20 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
foobar
7ed3c4536d
MFH: Fix some configure --help texts
2007-07-03 17:25:43 +00:00
Timm Friebe
43fccbf2b9
- Changed hardcoded "tempdb" database name to a constant
2007-05-22 12:16:32 +00:00
Timm Friebe
090cee2bdc
- Fixed expectancy in for SQL query <select convert(datetime, "notadate")>
...
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.
2007-05-22 11:38:57 +00:00
Timm Friebe
9181a464fe
- Added constant TEMPDB, defaulting to "tempdb"
...
# This constant is used by some of the tests and should point
# to a database where the user has create proc|table permissions
2007-05-22 11:36:55 +00:00
Timm Friebe
6218d2d998
- Changed hardcoded "tempdb" database name to a constant
...
# This constant is defined in test.inc and defaults to "tempdb"
# In certain setups, create procedure permissions may not be granted
# in tempdb
2007-05-22 11:35:47 +00:00
Timm Friebe
680735fce8
- Fixed tests on Windows
...
# The tests expected %s/test.inc in warnings and notices, but of course,
# on Windows, the directory separator is a backslash.
# Made this work in both worlds by testing for %stest.inc
2007-05-22 11:33:36 +00:00
Marcus Boerger
5447fca028
- WS/CS
2007-04-10 15:56:31 +00:00
Marcus Boerger
b15d742639
- Cleanup the cleanup
2007-04-10 15:50:34 +00:00
Timm Friebe
b9bc7c55d4
- Changed message handler also to handle message #11021
...
- Adjusted expected output
# Seems newer Sybase versions yielf different error codes for getdate(NULL)
2007-03-14 11:57:45 +00:00
Timm Friebe
ca75503c8f
- Fixed segmentation fault in sybase_connect()
...
# This was introduced by changing sprintf -> spprintf and resulted
# from passing a char* to spprintf() instead of a char**
2007-03-14 11:48:49 +00:00
Timm Friebe
142357d445
- Changed expected output
...
# select getdate() returns something like "Mar 14 2007 12:44PM", we
# were checking for one additional (nonexistant) whitespace after "Mar"
# which was wrong. Don`t know when and how this changed
2007-03-14 11:46:06 +00:00
Timm Friebe
d8ed658b78
- Changed expected output
...
# Due to var_export() & __set_state() changes
2007-03-14 11:44:24 +00:00
Antony Dovgal
80616688db
MFH
2007-03-11 12:56:44 +00:00
Antony Dovgal
e8ede1ec08
fix tests
2007-03-11 12:54:54 +00:00
Stanislav Malyshev
49a7bcd60b
use safe_realloc
2007-03-06 02:10:25 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Ilia Alshanetsky
a471f75354
Simplify code by converting emalloc() + sprintf() to spprintf()
2007-02-23 00:37:36 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Uwe Schindler
d6337819ba
MFH: Fix compilation with TSRM (now correct)
2006-07-25 09:20:32 +00:00
Uwe Schindler
c1da9dbc8b
revert shitty whitespace patch (forgot to reconfigure my editor after reinstallation)
2006-07-25 09:19:38 +00:00
Uwe Schindler
c1ddf2c2ed
Fix compilation with TSRM
2006-07-25 08:42:54 +00:00
foobar
93c0ddb2f3
MFH: fix compile failure and remove unnecessary TSRMLS_FETCH calls
2006-07-23 23:50:43 +00:00