Commit Graph

247 Commits

Author SHA1 Message Date
Wez Furlong
0c126e1233 make these build with new win32 build system.
mcve untested (I don't have those libs/headers)
2003-12-19 15:04:31 +00:00
Ard Biesheuvel
c40234b47e Let client library pick its own transaction param defaults 2003-09-26 10:06:22 +00:00
Ard Biesheuvel
50911d0904 Always return long from ibase_gen_id() on IB < 6 2003-09-23 23:08:59 +00:00
foobar
afdc20a094 ws fix 2003-09-23 22:17:40 +00:00
Ard Biesheuvel
f48f725348 Added ibase_gen_id()
# Lightweight shortcut to SELECT GEN_ID() ... function
2003-09-23 20:58:14 +00:00
Hartmut Holzgraefe
55d9ec0f6f proto thiko fix 2003-09-22 06:54:29 +00:00
Ard Biesheuvel
0cce471b0a Link to fbclient.dll if available
Add client lib name to dll version info
2003-09-17 01:25:08 +00:00
Ard Biesheuvel
b9a208d821 Use isc_get_version() for client lib info if available 2003-09-16 20:28:27 +00:00
Hartmut Holzgraefe
92b237f4c3 proto fix 2003-09-16 19:45:22 +00:00
Ard Biesheuvel
be16d129c5 Check for Firebird libfbclient.so first 2003-09-16 19:25:11 +00:00
Ard Biesheuvel
95b0fc58f7 Pointer size fix 2003-09-12 21:02:43 +00:00
Ard Biesheuvel
7ff3a3e4a3 Add client library info to phpinfo() function
Small inter-op fix for IB6
2003-09-11 23:08:48 +00:00
Ard Biesheuvel
c5b69dcb14 Changed unsigned ISC_LONG to ISC_LONG
# Build fix for FB 1.5
2003-09-11 08:50:30 +00:00
Ard Biesheuvel
19f69336e2 Don't include unnecessary headers in other configuration too 2003-09-08 00:41:03 +00:00
Ard Biesheuvel
e9ca738200 Don't include unnecessary headers 2003-09-08 00:32:22 +00:00
Ard Biesheuvel
366a4b7f94 Zero-terminate strings
Add fileflags for DEBUG build
2003-09-07 20:35:09 +00:00
Ard Biesheuvel
6c0e21fc74 Add version info to Windows DLL 2003-09-07 19:59:55 +00:00
Ard Biesheuvel
193f5a67db Add missing CVS Ids 2003-09-05 17:02:02 +00:00
Ard Biesheuvel
2815169319 Be more relaxed about dimensions of array arguments 2003-09-05 14:21:25 +00:00
Ard Biesheuvel
c9d082ef21 Test array handling 2003-09-05 13:08:41 +00:00
Ard Biesheuvel
2802293dd3 Make the test fail if anything goes wrong :-)
Some CS
2003-09-05 12:18:03 +00:00
Ard Biesheuvel
e73be1cb4a Added support for binding arrays 2003-09-04 22:37:14 +00:00
Ard Biesheuvel
f4511d4aae Don't rely on sizeof(int) == 4 2003-09-04 14:44:34 +00:00
Ard Biesheuvel
cb8da7b090 Fix inter-op with IB < 6
Fixes for 64-bit archs
2003-09-04 14:18:39 +00:00
Ard Biesheuvel
6f998688b5 Fixed fetching of arrays
# Untested for multidimensional arrays
2003-09-04 11:09:46 +00:00
Ard Biesheuvel
912a834749 No scaling for double type
Added missing array types
Precompute scale factors
2003-09-04 01:26:36 +00:00
Ard Biesheuvel
4ff5341fb0 WS 2003-09-03 17:15:40 +00:00
Ard Biesheuvel
804312c4a1 Test correct binding of 16-bit NUMERIC parameters 2003-09-03 15:24:50 +00:00
Ard Biesheuvel
b3b68834b5 Fix binding of 16-bit NUMERIC parameters 2003-09-03 15:15:30 +00:00
Ard Biesheuvel
d674159601 Nuke far pointers
# Unfortunately, this does break compatibility with Windows 3.x :-)
2003-09-02 22:37:26 +00:00
Ard Biesheuvel
f19dcfe8a3 CS fixes
# Boy, these guys are worse than -ansi -pedantic
2003-09-02 22:19:18 +00:00
Ard Biesheuvel
4545ea4666 Make ibase_{param|field}_info() return typenames that actually mean something 2003-09-02 19:30:20 +00:00
Ard Biesheuvel
0f1b506f20 Can't ignore variadic DEBUG macro for compilers
that don't support them. Revert.
2003-09-02 13:17:56 +00:00
Ard Biesheuvel
dbdd5b415d Changed some formatting/macro/debugging/variadic stuff 2003-09-02 12:46:42 +00:00
Ard Biesheuvel
6ee5a0db28 Prototype fixes
Return number of affected rows by ibase_query() and ibase_execute() if > 0
# Second change was actually introduced in 1.149, but never
# mentioned in the CVS log
2003-08-28 22:12:06 +00:00
Ard Biesheuvel
50006652ae Fixed some format strings 2003-08-28 16:48:22 +00:00
Ard Biesheuvel
c78169086b Test multiple execution of a prepared EXEC PROCEDURE statement 2003-08-28 00:18:27 +00:00
Ard Biesheuvel
36716c2525 Test for BLOB ID survival of close()/connect() 2003-08-28 00:17:25 +00:00
Ard Biesheuvel
fd89b9a783 Removed TSRMLS_FETCH from _php_ibase_module_error() 2003-08-28 00:11:16 +00:00
Ard Biesheuvel
2db5c7de85 Do not reuse data structure for ibase_execute() results.
Invalidate the results whose statement handle has been invalidated.
# EXEC PROCEDURE results don't need a statement handle, so
# the result doesn't have to be invalidated.
Fixed some add_{index|assoc}_*() bogosity
2003-08-27 22:55:06 +00:00
Ard Biesheuvel
84f995903b Fix false warning on zero-size BLOB fetch 2003-08-20 22:59:33 +00:00
Ard Biesheuvel
27582c4862 Reuse result data structure and resource id for consecutive executions
of a prepared query
# As previous resources are invalidated anyway because their statement
# handle is reused, we don't have to allocate a new result for every
# execution of a prepared query
2003-08-20 19:47:00 +00:00
Ard Biesheuvel
d70f744a63 Moved transaction defaults to header file 2003-08-20 16:13:51 +00:00
Ard Biesheuvel
8f869998b5 Cleaned up _php_ibase_var_zval() 2003-08-20 13:02:26 +00:00
Ard Biesheuvel
551526812b Fix Win32 build 2003-08-20 12:40:59 +00:00
Ard Biesheuvel
1b8e0440d2 Moved some local vars to stack 2003-08-20 12:40:05 +00:00
Ard Biesheuvel
d7c734edb9 Nuke link handle from BLOB id
# Now BLOB ids can survive disconnect/reconnect
Added link argument to ibase_blob_{open|info|echo}()
2003-08-20 12:22:58 +00:00
Ard Biesheuvel
f96efcbf90 Nuke bogus BLOB ids
# User-space BLOB id no longer contains transaction handle, so BLOB ids
# now remain valid throughout multiple transactions.
# Oh, and they look better too :-)
2003-08-18 00:14:53 +00:00
Ard Biesheuvel
a4bb353f2b Simplify previous fix 2003-08-17 16:30:15 +00:00
Ard Biesheuvel
91e3344eec Test immediate BLOB inserts 2003-08-17 16:14:29 +00:00