Commit Graph

94 Commits

Author SHA1 Message Date
Stefan Esser
af4aa97d1e Fixing functionicalls with variable number of parameters... 2003-03-06 20:31:20 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
24a86f2064 Fixed bug #22191 (frontbase build was broken for people using older
versions).
2003-02-12 20:44:00 +00:00
Ilia Alshanetsky
453368afdf Removed pointless checks. 2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
8a9e09a44a ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 14:56:40 +00:00
Ilia Alshanetsky
a7b91019e9 Removed pointless memory allocation checks. 2003-01-18 19:49:28 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Frank M. Kromann
956d63899c Changed php_error() to php_error_docref() 2002-12-03 19:39:25 +00:00
Sascha Schumann
2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
Frank M. Kromann
0d23670b30 Fixing comment allowing the module to compile again 2002-10-06 02:10:19 +00:00
Dan Kalowsky
610b2b76d7 Fix for bug #19155 UNTESTED. Unfortunately I don't have a way to test it
hopefully the user will.
2002-09-04 04:24:54 +00:00
Dan Kalowsky
4efc96d575 No C++ Comments 2002-09-04 03:57:59 +00:00
Frank M. Kromann
a66cbb8e07 Fixing compilation of FrontBase extension with ZTS 2002-07-02 21:36:11 +00:00
Derick Rethans
51dfe5eebe Unify error messages 2002-06-27 06:49:02 +00:00
Frank M. Kromann
42ba9987ea Oops.. This should make I64 work on WIn32 as well 2002-03-19 22:38:35 +00:00
Frank M. Kromann
0201386fac Changing the LongInteger to return 64 bit integers as string values with all 64 bit 2002-03-19 22:36:42 +00:00
Frank M. Kromann
5280936895 Adding support for TinyInteger and LongInteger database types 2002-03-19 18:33:05 +00:00
Andi Gutmans
c8e7db984c - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR 2002-03-12 20:18:01 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Frank M. Kromann
db63c9e291 Return true on update success. 2002-02-22 19:03:11 +00:00
Frank M. Kromann
9d0f7ba3b5 Convert pLists to output character set before parsing the list 2002-02-06 22:31:23 +00:00
Frank M. Kromann
1121df7c45 Added order by clause in fbsql_list_tables().
Table names will now be sorted.
2002-02-06 19:41:00 +00:00
Frank M. Kromann
d26c7a41ff Adding fbsql_table_name() aliased fbsql_tablename() for compatibility with MySQL 2002-02-06 19:24:02 +00:00
Frank M. Kromann
2a02754b52 Fixing spelling error in FrontBase section
Changed som int to unsigned int to remove compiler warnings
2002-01-23 17:48:31 +00:00
Hartmut Holzgraefe
ce8c6a04b6 cut&paste errors in protos fixed 2002-01-20 14:45:30 +00:00
Frank M. Kromann
d454f8bb3a Adding functions to get BLOB/CLOB size from a lob_handle.
Added descriptions on most protos
2002-01-10 21:56:18 +00:00
Egon Schmid
9f69163453 Fixed some protos. 2001-12-30 08:12:29 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Frank M. Kromann
3c06e3c4bb Prevent fbsql_num_rows from looping 2001-11-14 20:42:38 +00:00
Frank M. Kromann
95ee25ace6 Make fbsql_list_fields work as documented 2001-11-10 07:43:23 +00:00
Frank M. Kromann
8b0ac98fe4 A more acurate fix to the fbsql_num_rows function returning
x7fffffff when the server is unable to tell the number of rows.
2001-10-29 21:40:48 +00:00
Frank M. Kromann
fc412af04a Fixing spelling of persistent 2001-10-29 21:27:31 +00:00
Frank M. Kromann
4ccb92fcd0 Fixing wrong count on fbsql_num_rows.
@fbsql_num_rows now return the correct value on all select statements
2001-10-29 18:53:52 +00:00
Frank M. Kromann
688cdc581d Fixing parsing of list's returned by extract database, extract license and other extract commands 2001-10-29 01:51:08 +00:00
Frank M. Kromann
afd6890a78 Typo in constant naming. 2001-10-26 18:42:46 +00:00
Frank M. Kromann
2384eb7d62 Removed unused code 2001-10-26 17:50:33 +00:00
Frank M. Kromann
29c090934b Return a warning when fbsql_read_blob or fbsql_read_clob is called with an invalid handle 2001-10-17 18:36:32 +00:00
Frank M. Kromann
2aefe30f18 Adding new functions to retreive LOB data.
fbsql_set_lob_mode() is used to switch from FBSQL_LOB_DIRECT to FBSQL_LOB_HANDLE

when LOBS are retreived as FBSQL_LOB_HANDLE the user must call fbsql_read_blob() or fbsql_read_clob() to get the data.
2001-10-16 23:08:38 +00:00
Frank M. Kromann
dbe9e0bfc2 Fixing problem with indirect blobs 2001-10-15 17:33:14 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Frank M. Kromann
8d88fb8bf3 Changed return value for BLOB/CLOB values to a string. and returning false if no handle is created. 2001-10-10 22:24:57 +00:00
Frank M. Kromann
ffd40bf495 Adding support for BLOB and CLOB 2001-10-10 00:42:00 +00:00
Frank M. Kromann
42cce22f2d use strdup to alloc memory refeed with free! 2001-10-08 22:24:59 +00:00
Frank M. Kromann
3629062ab6 Fixing prototypes and removing unused code 2001-10-08 16:42:19 +00:00
Jeroen van Wolffelaar
6cfba2a3ea 2nd phase in back-substitution those macro's
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Frank M. Kromann
059f1cc922 Fixing spelling 2001-09-06 16:49:17 +00:00
Frank M. Kromann
a219643b2b Adding function to set transaction locking and isolation. 2001-09-04 21:51:11 +00:00
Andi Gutmans
a5afd0e9d0 - ZE2 fixes 2001-08-13 16:40:12 +00:00