Commit Graph

122 Commits

Author SHA1 Message Date
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
Zeev Suraski
f6f6c4d7e6 Whitespace 2001-08-11 16:39:07 +00:00
Frank M. Kromann
300ac8c238 Adding SQL statement to the warning 2001-08-10 20:34:05 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Frank M. Kromann
7020cccef9 Fixing build after implementing the new TSRM structure! 2001-07-30 17:27:08 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95 More TSRMLS_FETCH work, and a bit of cleanup 2001-07-30 06:18:13 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Frank M. Kromann
612b3666a9 Add extra check on Delete statements 2001-07-24 18:24:10 +00:00
Frank M. Kromann
cbfe23b99b Fixing bug when using select unique from <table>
The value was not returned to the script
2001-07-12 22:43:25 +00:00
Frank M. Kromann
94e6db966b changed return value from fbsql_query to be booloan 2001-07-10 23:39:39 +00:00
Frank M. Kromann
ad8150b3a9 Fixing return value from fbsql_query after a DELETE FROM with success. 2001-07-10 22:34:24 +00:00
Frank M. Kromann
d5d7cf7390 Changed length of BIT string.
Changed return value of fbsql_field_length to long
2001-06-20 22:54:51 +00:00
Frank M. Kromann
44bc630d9b Fixing return value for fbsql_query on updates and fixing crash on fbsql_connect. 2001-06-12 00:39:05 +00:00
Frank M. Kromann
127f827f76 Update fbsql_fetch_array() to match documentation 2001-06-06 16:57:16 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Frank M. Kromann
ea90497f67 Changed efree to free for perststant data. 2001-06-01 23:51:48 +00:00
Frank M. Kromann
354c57a931 Gerring rid of C++ comments,
Adding extra cleanup.
2001-06-01 22:27:00 +00:00
Frank M. Kromann
8d3ef75182 Fixing crash in shutdown after executing a SQL statement with errors 2001-05-31 19:40:24 +00:00
Frank M. Kromann
75daa01362 Adding missing resource 2001-05-31 18:57:58 +00:00
Frank M. Kromann
7fd7f0517a Changed code to return resources for links and results 2001-05-31 18:43:29 +00:00
Frank M. Kromann
50bc884f78 Adding fbsql_status_db(). New function to get the status of a given database. 2001-05-29 16:01:54 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Frank M. Kromann
251996bb79 Fixing prototypes to match function names 2001-05-22 18:26:36 +00:00
Frank M. Kromann
6b2df64cf0 Changing how persistant links are added to zend_lists 2001-05-22 17:32:17 +00:00
Frank M. Kromann
c1b7b83d45 Fixing some proto types 2001-05-10 16:35:05 +00:00
Frank M. Kromann
4d1c545a9c Switching to zend_register_list_destructors_ex() 2001-05-09 21:44:44 +00:00
Frank M. Kromann
383c757a43 Use RETURN_ macros to define function returns.
Fix fetch functions to return values from array data structure
2001-05-08 22:58:32 +00:00
Frank M. Kromann
ed267a7d66 Changing paramters on database_password 2001-05-02 20:36:51 +00:00
Frank M. Kromann
7049935da0 Fixing segfault in database_password 2001-05-02 20:06:00 +00:00
Frank M. Kromann
1d7dc11df0 Fixing some proto types and return values 2001-05-01 22:04:11 +00:00
Frank M. Kromann
a09c88cb6a Remove c++ comment
Move errormessage when FBExec is not running. This error should not show if we connect through a port number.
2001-04-25 19:45:13 +00:00
Frank M. Kromann
7873ab04b3 make fbsql_field_flags return a value 2001-04-25 18:01:22 +00:00
Frank M. Kromann
f09a36b91f Adding fbsql_fetch_assoc() functon 2001-04-17 17:39:43 +00:00
Frank M. Kromann
fb98b6b838 Fixing memory leek on CancelFetch. 2001-04-16 16:27:11 +00:00
Frank M. Kromann
6df886acfe Fixing database password to actually work 2001-04-10 18:44:51 +00:00
Frank M. Kromann
382e3c5ad6 Adding empty RSHUTDOWN function. 2001-04-04 20:10:14 +00:00
Frank M. Kromann
8003b3aa9d Fixing crash when listing databsaes
Fixing rowcount to woirk when the result contains an array og data.
2001-04-03 18:09:02 +00:00
Frank M. Kromann
d7491166c5 Removing extra check for warnings. 2001-03-23 00:58:59 +00:00
Frank M. Kromann
8bea574877 Adding warning when query fails 2001-03-22 21:16:23 +00:00
Frank M. Kromann
eea4386582 setting right params to zend_get_parameters_ex 2001-03-21 21:53:45 +00:00
Frank M. Kromann
983bfff7de changed arg types from pval* to zval** 2001-03-21 19:56:33 +00:00
Frank M. Kromann
80c4511012 Fixing crash when result conrains 0 rows 2001-03-20 20:25:55 +00:00
Frank M. Kromann
3cbe879b89 Converting to c-style comments.
Adding prototypes to all exported function
2001-03-20 19:21:45 +00:00
Frank M. Kromann
d5e1266dc5 Initial check-in of FrontBase extension 2001-03-13 20:58:47 +00:00