Commit Graph

72 Commits

Author SHA1 Message Date
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ard Biesheuvel
c84c5640e7 Revert 2004-06-12 20:52:07 +00:00
Ard Biesheuvel
39a690321a Added export macros 2004-06-12 02:49:47 +00:00
Ard Biesheuvel
afc9cb151b Dropped support for ancient Interbase versions (< 6)
# This has no consequences for Firebird, as its initial release was based on IB 6
2004-05-12 14:29:42 +00:00
Ard Biesheuvel
80e3384756 Use php_ prefix for header files
Added nearly complete implementation of service API
2004-02-02 13:49:48 +00:00
Ard Biesheuvel
7b606b98d4 Remove extension internals from php_interbase.h 2004-02-01 17:52:36 +00:00
Ard Biesheuvel
69d53a7676 Added backup/restore functions
Split interbase.c into several files
# It was becoming too big to handle
2004-02-01 16:13:07 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Ard Biesheuvel
c40234b47e Let client library pick its own transaction param defaults 2003-09-26 10:06:22 +00:00
Ard Biesheuvel
f48f725348 Added ibase_gen_id()
# Lightweight shortcut to SELECT GEN_ID() ... function
2003-09-23 20:58:14 +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
d674159601 Nuke far pointers
# Unfortunately, this does break compatibility with Windows 3.x :-)
2003-09-02 22:37:26 +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
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
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
6561a0546b Some general cleaning up
Some preliminary changes for extensions to array functions
2003-08-16 15:31:06 +00:00
Ard Biesheuvel
78a3fe8fca Removed ibase_num_rows()
Converted some MACRO-isms
2003-08-16 01:58:29 +00:00
Ard Biesheuvel
dfbed2aa24 Added ibase_free_event_handler() 2003-08-15 16:13:51 +00:00
Ard Biesheuvel
d5de1ad41c Added ibase_set_event_handler() 2003-08-15 00:06:07 +00:00
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