mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 18:35:42 +00:00
revamp ext/pdo_mysql
This commit is contained in:
1 parent
6d5c56367d
commit
fa2a2c88fd
2 files changed
+3
-3
No files matched your search
@@ -168,7 +168,7 @@ static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_str_size
|
||||
char *nsql = NULL;
|
||||
zend_str_size_int nsql_len = 0;
|
||||
int ret;
|
||||
int server_version;
|
||||
php_uint_t server_version;
|
||||
|
||||
PDO_DBG_ENTER("mysql_handle_preparer");
|
||||
PDO_DBG_INF_FMT("dbh=%p", dbh);
|
||||
|
||||
@@ -675,7 +675,7 @@ static int pdo_mysql_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC) /* {{{
|
||||
PDO_DBG_RETURN(1);
|
||||
}
|
||||
for (i = 0; i < stmt->column_count; i++) {
|
||||
int namelen;
|
||||
zend_str_size_int namelen;
|
||||
|
||||
if (S->H->fetch_table_names) {
|
||||
namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
|
||||
@@ -702,7 +702,7 @@ static int pdo_mysql_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC) /* {{{
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, php_uint_t *len, int *caller_frees TSRMLS_DC) /* {{{ */
|
||||
static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, php_int_t colno, char **ptr, php_uint_t *len, int *caller_frees TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt->driver_data;
|
||||
|
||||
|
||||
Reference in new issue
Block a user