php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "php.h"
#include "zend_exceptions.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "ext/pdo/php_pdo.h"
#include "ext/pdo/php_pdo_driver.h"
#include "php_pdo_firebird.h"
#include "php_pdo_firebird_int.h"
#include "pdo_firebird_utils.h"
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
#define | INFO_BUF_LEN 512 |
Enumerations | |
enum | FbTokenType { ttNone , ttWhite , ttComment , ttBrokenComment , ttString , ttParamMark , ttIdent , ttOther } |
Functions | |
void | php_firebird_set_error (pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *state, const size_t state_len, const char *msg, const size_t msg_len) |
bool | php_firebird_commit_transaction (pdo_dbh_t *dbh, bool retain) |
Variables | |
const char | CHR_LETTER = 1 |
const char | CHR_DIGIT = 2 |
const char | CHR_IDENT = 4 |
const char | CHR_QUOTE = 8 |
const char | CHR_WHITE = 16 |
const char | CHR_HEX = 32 |
const char | CHR_INTRODUCER = 64 |
const pdo_driver_t | pdo_firebird_driver |
#define _GNU_SOURCE |
Definition at line 22 of file firebird_driver.c.
#define INFO_BUF_LEN 512 |
Definition at line 1200 of file firebird_driver.c.
enum FbTokenType |
Enumerator | |
---|---|
ttNone | |
ttWhite | |
ttComment | |
ttBrokenComment | |
ttString | |
ttParamMark | |
ttIdent | |
ttOther |
Definition at line 185 of file firebird_driver.c.
bool php_firebird_commit_transaction | ( | pdo_dbh_t * | dbh, |
bool | retain ) |
retaining
keeps the transaction open without closing it.
firebird needs to always have a transaction open to emulate autocommit mode, and in autocommit mode it keeps the transaction open.
Same as close and then begin again, but use retain to save overhead.
Definition at line 913 of file firebird_driver.c.
void php_firebird_set_error | ( | pdo_dbh_t * | dbh, |
pdo_stmt_t * | stmt, | ||
const char * | state, | ||
const size_t | state_len, | ||
const char * | msg, | ||
const size_t | msg_len ) |
Definition at line 524 of file firebird_driver.c.
const char CHR_DIGIT = 2 |
Definition at line 40 of file firebird_driver.c.
const char CHR_HEX = 32 |
Definition at line 44 of file firebird_driver.c.
const char CHR_IDENT = 4 |
Definition at line 41 of file firebird_driver.c.
const char CHR_INTRODUCER = 64 |
Definition at line 45 of file firebird_driver.c.
const char CHR_LETTER = 1 |
Definition at line 39 of file firebird_driver.c.
const char CHR_QUOTE = 8 |
Definition at line 42 of file firebird_driver.c.
const char CHR_WHITE = 16 |
Definition at line 43 of file firebird_driver.c.
const pdo_driver_t pdo_firebird_driver |
Definition at line 1451 of file firebird_driver.c.