Commit Graph

48 Commits

Author SHA1 Message Date
Ard Biesheuvel
970371efa2 Added ibase_wait_event() 2003-08-14 10:55:02 +00:00
Ard Biesheuvel
05db087834 Allow the use of EXECUTE PROCEDURE statements 2003-08-13 02:19:14 +00:00
Ard Biesheuvel
b220a551f6 .... and again 2003-08-12 18:08:13 +00:00
Ard Biesheuvel
c552c34b76 Re-commit of failed patch 2003-08-12 18:01:59 +00:00
foobar
72000ab8a5 Revert previous patch. 2003-08-12 17:41:37 +00:00
Ard Biesheuvel
b58fa703b4 Allow prepared execution of any non-query statement except CREATE DB
(fixes bug #7014)
2003-08-12 17:33:54 +00:00
Ard Biesheuvel
69252c3c77 Added ibase_num_params() and ibase_param_info()
@- Added function ibase_num_params() (Ard)
@- Added function ibase_param_info() (Ard)
2003-08-10 20:53:19 +00:00
Ard Biesheuvel
9510d999dc Added ibase_affected_rows() and ibase_num_rows()
Fix for ibase_fetch_*() error after exhaustion of result
@- Added ibase_affected_row() (Ard)
@- Added ibase_num_rows() (Ard)
2003-08-10 16:21:26 +00:00
Ard Biesheuvel
870ba56375 Changed the names of some struct members for readability
Added function ibase_errcode()
@- Added function ibase_errcode() (Ard)
2003-08-08 11:04:12 +00:00
Ard Biesheuvel
712d7d561b Fixed crash in _php_ibase_error() after request shutdown 2003-08-07 01:00:22 +00:00
Ard Biesheuvel
00d42286ec Added three new user functions
ibase_{commit|rollback}_ret()
Commit or rollback a transaction without losing the transaction context.

ibase_name_result()
Assign a name to a result so {UPDATE|DELETE} ... WHERE CURRENT OF <name>
statements can be used.
2003-08-06 17:51:46 +00:00
Ard Biesheuvel
966663d3a0 Minor Win32 fixes/cleanups 2003-08-06 12:09:30 +00:00
foobar
605619baa9 Fix CS/WS 2003-08-05 16:30:47 +00:00
Ard Biesheuvel
f98251f307 Significant changes to layout of internal data structures
in order to accomodate and carry out the following changes:
* Removal of arbitrary 'transactions-per-link' limit,
* Transactions over multiple databases.

Leak fixes in ibase_query() and ibase_execute() by replacing
emalloc() with do_alloca()

Changes to ibase_query() to enable the use of CREATE DATABASE ...

Added ibase_drop_db()
2003-08-05 13:17:16 +00:00
foobar
676d4fca3c Revert bad fix. 2003-07-10 01:40:01 +00:00
foobar
3396cb340a Fix crashes in certain situations (whenever there is an error, basically..) 2003-07-10 01:17:34 +00:00
Daniela Mariaschi
e8e4db8581 Added IBASE_REC_VERSION/IBASE_REC_NO_VERSION transaction constants
required from bugs #8797 #23887
(added IBASE_WRITE, IBASE_WAIT, IBASE_CONCURRENCY just for clarity)
2003-06-14 16:38:10 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Daniela Mariaschi
82d513ee72 better fix bug #20641.
Overflow numeric/decimal datatype on NT
2003-05-14 08:22:54 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Derick Rethans
861f68834a - Fixed linker error when HAVE_STRFTIME was not set 2002-09-12 11:18:47 +00:00
Daniela Mariaschi
8a65d5d3cb Add control on IB version. ibase_add_user(), ibase_modify_user()
and ibase_delete_user() are available with IB6 or later
2002-06-06 19:51:04 +00:00
Daniela Mariaschi
716e6a03db added new ibase_fetch_assoc() php function 2002-03-15 15:26:01 +00:00
fabrice aeschbacher
ece15242e7 add ibase_add_user(), ibase_modify_user(), ibase_delete_use() 2002-01-27 15:31:15 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Rasmus Lerdorf
7101179c8d Interbase extension fixes by Jeremy Bettis
(.dsp patch looked funky, but these ones look ok)
2001-09-04 21:47:05 +00:00
Zeev Suraski
1c25b8dd53 Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way 2001-07-30 01:56:43 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Jouni Ahto
abcdb47fc2 Changing my email address... 2001-01-04 11:15:35 +00:00
Jouni Ahto
f06ee6bdba - List entry types should be true globals. 2000-10-05 12:47:39 +00:00
Zeev Suraski
1237a33c79 - Made Interbase compile under Win32, cleaned warnings
@- Added Win32 project for the Interbase module (Zeev)
2000-07-17 20:51:47 +00:00
Jouni Ahto
99c6e63e66 - Move away from encoding transaction number into link_id and use properly
resources instead for both.
- Some cleaning.
2000-07-07 12:06:05 +00:00
Jouni Ahto
ec62b2d1cd - First try at getting interbase to compile and work in ZTS-mode. Compiles. 2000-07-05 04:21:00 +00:00
Sascha Schumann
cd754d7825 Rename macros which begin with underscore to appropiate macros. The general
rule is:

	macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
2000-07-03 00:41:19 +00:00
Jouni Ahto
8f1ff9e85e - Close cursor immediately before reuse so that calling ibase_free_result is
not necessary anymore. Seems to also prevent a a situation where at request
  shutdown cursor was first dropped and tried to close it afterwards when
  all the resources were not manually freed, and could occasionally segfault.
2000-06-24 16:24:29 +00:00
Andi Gutmans
a9d4cf9023 - Nuke COMPILE_DL. Modules that need to be compiled as dll's in Windows
- need to define both COMPILE_DL_MODULE and HAVE_MODULE=1
2000-06-10 08:48:01 +00:00
Zeev Suraski
e043439ff6 Update the license with the new clause 6 2000-05-18 15:34:45 +00:00
Jouni Ahto
4132ec828d Changed ibase_num_fields to use high-performance api (which fixed a *very*
obscure bug).
2000-05-12 08:37:03 +00:00
Jouni Ahto
fc5daee434 Fixed all (?) remaining issues with InterBase 6 datatypes, especially
with timestamp, date and time.
Incombatible change: renamed constant IBASE_TIMESTAMP to IBASE_UNIXTIME.
Incompatible change: renamed configuration directive ibase.timeformat
to ibase.timestampformat.
Added constants IBASE_TIMESTAMP, IBASE_DATE, IBASE_TIME.
Added configuration directives ibase.dateformat and ibase.timeformat.
ibase_timefmt() now takes an optional second argument specifying which
format to change, default is IBASE_TIMESTAMP (for even a little backwards
compatibility).
2000-05-12 03:02:14 +00:00
Jouni Ahto
b826d6a43d Support (partially) the new datatypes in InterBase 6. 2000-05-09 20:30:23 +00:00
Jouni Ahto
430bfdd878 Moving module to the high-performance API & fixing it for PHP4. 2000-04-30 05:46:04 +00:00
Jouni Ahto
1dc32c2d52 # Reaching alpha status with this module... 2000-04-18 02:52:45 +00:00
Jouni Ahto
bd1140e71d # Compiles. Doesn't work yet. Unless leaking memory counts as 'working'.
# Trying to finish before RC1...
2000-03-12 19:44:23 +00:00
Zeev Suraski
bf5cb890b0 - Convert 'PHP3' to 'PHP'
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Zeev Suraski
396bccfb1d More php3_ cleanup 1999-12-17 22:34:04 +00:00
Zeev Suraski
fb1c77bd4f - Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Sascha Schumann
5b983c944f Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00