Re: [PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: ext/pdo_mysql/mysql_statement.c
Hello! Mail script show combined diff for merge commits: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f05a39fce42029c126d6dc315ffdad43d27c8e9;hp=-c It's diff between 3 revisions. (2 parents and 1 merge commit). With regards, Alexander Moskaliov ir...@irker.net 2012/3/25 Pierrick Charron pierr...@php.net: I looked at the git log/diff and I think there is a problem with the mailing system. It did not send the diff from the good parent for the merge. Pierrick On 24 March 2012 18:07, Pierrick Charron pierr...@php.net wrote: Hmmm I think I have the same issue as Hannes. All those changes are not the one I did on the 5.3 branch. Any clue on how to deal with that ? Thanks Pierrick On 24 March 2012 17:59, Pierrick Charron pierr...@php.net wrote: Commit: 7f05a39fce42029c126d6dc315ffdad43d27c8e9 Author: Pierrick Charron pierr...@php.net Sat, 24 Mar 2012 17:59:46 -0400 Parents: 10809686f0dbcbbf0eb06c968d65e0febe1dc034 da2da13f935b2775635cd21b47a78fbf025a462d Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f05a39fce42029c126d6dc315ffdad43d27c8e9 Log: Merge branch 'PHP-5.3' into PHP-5.4 Changed paths: MM ext/pdo_mysql/mysql_statement.c Diff: 7f05a39fce42029c126d6dc315ffdad43d27c8e9 diff --combined ext/pdo_mysql/mysql_statement.c index 20e67e4,115e74c..0c2689f --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@@ -59,10 -59,12 +59,10 @@@ static int pdo_mysql_stmt_dtor(pdo_stmt pefree(S-einfo.errmsg, stmt-dbh-is_persistent); S-einfo.errmsg = NULL; } -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND if (S-stmt) { pdo_mysql_stmt_close(S-stmt); S-stmt = NULL; } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ #ifndef PDO_USE_MYSQLND if (S-params) { @@@ -75,6 -77,9 +75,6 @@@ efree(S-in_length); } -#endif /* PDO_USE_MYSQLND */ - -#ifdef HAVE_MYSQL_STMT_PREPARE if (S-bound_result) { int i; @@@ -86,9 -91,10 +86,9 @@@ efree(S-out_null); efree(S-out_length); } -#endif /* HAVE_MYSQL_STMT_PREPARE */ +#endif -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND if (S-H-server) { while (mysql_more_results(S-H-server)) { MYSQL_RES *res; @@@ -101,8 -107,8 +101,8 @@@ mysql_free_result(res); } } - } -#endif /* HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND */ + } + #if PDO_USE_MYSQLND if (!S-stmt S-current_data) { mnd_free(S-current_data); @@@ -158,7 -164,7 +158,7 @@@ static int pdo_mysql_fill_stmt_from_res } /* }}} */ -#ifdef HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { pdo_mysql_stmt *S = stmt-driver_data; @@@ -316,13 -322,14 +316,12 @@@ static int pdo_mysql_stmt_execute(pdo_s { pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; PDO_DBG_ENTER(pdo_mysql_stmt_execute); PDO_DBG_INF_FMT(stmt=%p, S-stmt); if (S-stmt) { PDO_DBG_RETURN(pdo_mysql_stmt_execute_prepared(stmt)); } -#endif /* ensure that we free any previous unfetched results */ if (S-result) { @@@ -341,6 -348,7 +340,6 @@@ static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; long row_count; @@@ -402,7 -410,7 +401,7 @@@ #endif /* ensure that we free any previous unfetched results */ -#if HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND if (S-stmt) { stmt-column_count = (int)mysql_num_fields(S-result); mysql_stmt_free_result(S-stmt); @@@ -424,6 -432,10 +423,6 @@@ } else { PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt TSRMLS_CC)); } -#else - strcpy(stmt-error_code, HYC00); - PDO_DBG_RETURN(0); -#endif /* HAVE_MYSQL_STMT_PREPARE */ } /* }}} */ @@@ -445,6 -457,7 +444,6 @@@ static int pdo_mysql_stmt_param_hook(pd #ifndef PDO_USE_MYSQLND PDO_MYSQL_PARAM_BIND *b; #endif -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; PDO_DBG_ENTER(pdo_mysql_stmt_param_hook); @@@ -576,7 -589,7 +575,7 @@@ break; } } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ + PDO_DBG_RETURN(1); } /* }}} */ @@@ -597,6 -610,7 +596,6 @@@ static int pdo_mysql_stmt_fetch(pdo_stm PDO_DBG_RETURN(1); } #else -#
[PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: ext/pdo_mysql/mysql_statement.c
Commit:7f05a39fce42029c126d6dc315ffdad43d27c8e9 Author:Pierrick Charron pierr...@php.net Sat, 24 Mar 2012 17:59:46 -0400 Parents: 10809686f0dbcbbf0eb06c968d65e0febe1dc034 da2da13f935b2775635cd21b47a78fbf025a462d Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f05a39fce42029c126d6dc315ffdad43d27c8e9 Log: Merge branch 'PHP-5.3' into PHP-5.4 Changed paths: MM ext/pdo_mysql/mysql_statement.c Diff: 7f05a39fce42029c126d6dc315ffdad43d27c8e9 diff --combined ext/pdo_mysql/mysql_statement.c index 20e67e4,115e74c..0c2689f --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@@ -59,10 -59,12 +59,10 @@@ static int pdo_mysql_stmt_dtor(pdo_stmt pefree(S-einfo.errmsg, stmt-dbh-is_persistent); S-einfo.errmsg = NULL; } -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND if (S-stmt) { pdo_mysql_stmt_close(S-stmt); S-stmt = NULL; } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ #ifndef PDO_USE_MYSQLND if (S-params) { @@@ -75,6 -77,9 +75,6 @@@ efree(S-in_length); } -#endif /* PDO_USE_MYSQLND */ - -#ifdef HAVE_MYSQL_STMT_PREPARE if (S-bound_result) { int i; @@@ -86,9 -91,10 +86,9 @@@ efree(S-out_null); efree(S-out_length); } -#endif /* HAVE_MYSQL_STMT_PREPARE */ +#endif -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND if (S-H-server) { while (mysql_more_results(S-H-server)) { MYSQL_RES *res; @@@ -101,8 -107,8 +101,8 @@@ mysql_free_result(res); } } - } -#endif /* HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND */ + } + #if PDO_USE_MYSQLND if (!S-stmt S-current_data) { mnd_free(S-current_data); @@@ -158,7 -164,7 +158,7 @@@ static int pdo_mysql_fill_stmt_from_res } /* }}} */ -#ifdef HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { pdo_mysql_stmt *S = stmt-driver_data; @@@ -316,13 -322,14 +316,12 @@@ static int pdo_mysql_stmt_execute(pdo_s { pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; PDO_DBG_ENTER(pdo_mysql_stmt_execute); PDO_DBG_INF_FMT(stmt=%p, S-stmt); if (S-stmt) { PDO_DBG_RETURN(pdo_mysql_stmt_execute_prepared(stmt)); } -#endif /* ensure that we free any previous unfetched results */ if (S-result) { @@@ -341,6 -348,7 +340,6 @@@ static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; long row_count; @@@ -402,7 -410,7 +401,7 @@@ #endif /* ensure that we free any previous unfetched results */ -#if HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND if (S-stmt) { stmt-column_count = (int)mysql_num_fields(S-result); mysql_stmt_free_result(S-stmt); @@@ -424,6 -432,10 +423,6 @@@ } else { PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt TSRMLS_CC)); } -#else - strcpy(stmt-error_code, HYC00); - PDO_DBG_RETURN(0); -#endif /* HAVE_MYSQL_STMT_PREPARE */ } /* }}} */ @@@ -445,6 -457,7 +444,6 @@@ static int pdo_mysql_stmt_param_hook(pd #ifndef PDO_USE_MYSQLND PDO_MYSQL_PARAM_BIND *b; #endif -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; PDO_DBG_ENTER(pdo_mysql_stmt_param_hook); @@@ -576,7 -589,7 +575,7 @@@ break; } } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ + PDO_DBG_RETURN(1); } /* }}} */ @@@ -597,6 -610,7 +596,6 @@@ static int pdo_mysql_stmt_fetch(pdo_stm PDO_DBG_RETURN(1); } #else -# if HAVE_MYSQL_STMT_PREPARE int ret; if (S-stmt) { @@@ -617,6 -631,7 +616,6 @@@ PDO_DBG_RETURN(1); } -# endif /* HAVE_MYSQL_STMT_PREPARE */ #endif /* PDO_USE_MYSQLND */ if (!S-result) { @@@ -707,12 -722,15 +706,12 @@@ static int pdo_mysql_stmt_get_col(pdo_s } /* With mysqlnd data is stored inside mysqlnd, not S-current_data */ -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND if (!S-stmt) { if (S-current_data == NULL || !S-result) { PDO_DBG_RETURN(0); } -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND } -#endif + if (colno = stmt-column_count) { /* error invalid column */
Re: [PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: ext/pdo_mysql/mysql_statement.c
Hmmm I think I have the same issue as Hannes. All those changes are not the one I did on the 5.3 branch. Any clue on how to deal with that ? Thanks Pierrick On 24 March 2012 17:59, Pierrick Charron pierr...@php.net wrote: Commit:7f05a39fce42029c126d6dc315ffdad43d27c8e9 Author:Pierrick Charron pierr...@php.net Sat, 24 Mar 2012 17:59:46 -0400 Parents: 10809686f0dbcbbf0eb06c968d65e0febe1dc034 da2da13f935b2775635cd21b47a78fbf025a462d Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f05a39fce42029c126d6dc315ffdad43d27c8e9 Log: Merge branch 'PHP-5.3' into PHP-5.4 Changed paths: MM ext/pdo_mysql/mysql_statement.c Diff: 7f05a39fce42029c126d6dc315ffdad43d27c8e9 diff --combined ext/pdo_mysql/mysql_statement.c index 20e67e4,115e74c..0c2689f --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@@ -59,10 -59,12 +59,10 @@@ static int pdo_mysql_stmt_dtor(pdo_stmt pefree(S-einfo.errmsg, stmt-dbh-is_persistent); S-einfo.errmsg = NULL; } -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND if (S-stmt) { pdo_mysql_stmt_close(S-stmt); S-stmt = NULL; } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ #ifndef PDO_USE_MYSQLND if (S-params) { @@@ -75,6 -77,9 +75,6 @@@ efree(S-in_length); } -#endif /* PDO_USE_MYSQLND */ - -#ifdef HAVE_MYSQL_STMT_PREPARE if (S-bound_result) { int i; @@@ -86,9 -91,10 +86,9 @@@ efree(S-out_null); efree(S-out_length); } -#endif /* HAVE_MYSQL_STMT_PREPARE */ +#endif -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND if (S-H-server) { while (mysql_more_results(S-H-server)) { MYSQL_RES *res; @@@ -101,8 -107,8 +101,8 @@@ mysql_free_result(res); } } - } -#endif /* HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND */ + } + #if PDO_USE_MYSQLND if (!S-stmt S-current_data) { mnd_free(S-current_data); @@@ -158,7 -164,7 +158,7 @@@ static int pdo_mysql_fill_stmt_from_res } /* }}} */ -#ifdef HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { pdo_mysql_stmt *S = stmt-driver_data; @@@ -316,13 -322,14 +316,12 @@@ static int pdo_mysql_stmt_execute(pdo_s { pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; PDO_DBG_ENTER(pdo_mysql_stmt_execute); PDO_DBG_INF_FMT(stmt=%p, S-stmt); if (S-stmt) { PDO_DBG_RETURN(pdo_mysql_stmt_execute_prepared(stmt)); } -#endif /* ensure that we free any previous unfetched results */ if (S-result) { @@@ -341,6 -348,7 +340,6 @@@ static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; long row_count; @@@ -402,7 -410,7 +401,7 @@@ #endif /* ensure that we free any previous unfetched results */ -#if HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND if (S-stmt) { stmt-column_count = (int)mysql_num_fields(S-result); mysql_stmt_free_result(S-stmt); @@@ -424,6 -432,10 +423,6 @@@ } else { PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt TSRMLS_CC)); } -#else - strcpy(stmt-error_code, HYC00); - PDO_DBG_RETURN(0); -#endif /* HAVE_MYSQL_STMT_PREPARE */ } /* }}} */ @@@ -445,6 -457,7 +444,6 @@@ static int pdo_mysql_stmt_param_hook(pd #ifndef PDO_USE_MYSQLND PDO_MYSQL_PARAM_BIND *b; #endif -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; PDO_DBG_ENTER(pdo_mysql_stmt_param_hook); @@@ -576,7 -589,7 +575,7 @@@ break; } } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ + PDO_DBG_RETURN(1); } /* }}} */ @@@ -597,6 -610,7 +596,6 @@@ static int pdo_mysql_stmt_fetch(pdo_stm PDO_DBG_RETURN(1); } #else -# if HAVE_MYSQL_STMT_PREPARE int ret; if (S-stmt) { @@@ -617,6 -631,7 +616,6 @@@ PDO_DBG_RETURN(1); } -# endif /* HAVE_MYSQL_STMT_PREPARE */ #endif /* PDO_USE_MYSQLND */ if (!S-result) { @@@ -707,12 -722,15 +706,12 @@@ static int pdo_mysql_stmt_get_col(pdo_s } /* With mysqlnd data is stored inside mysqlnd, not S-current_data */ -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND if (!S-stmt) { if (S-current_data == NULL || !S-result) {
Re: [PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: ext/pdo_mysql/mysql_statement.c
I looked at the git log/diff and I think there is a problem with the mailing system. It did not send the diff from the good parent for the merge. Pierrick On 24 March 2012 18:07, Pierrick Charron pierr...@php.net wrote: Hmmm I think I have the same issue as Hannes. All those changes are not the one I did on the 5.3 branch. Any clue on how to deal with that ? Thanks Pierrick On 24 March 2012 17:59, Pierrick Charron pierr...@php.net wrote: Commit:7f05a39fce42029c126d6dc315ffdad43d27c8e9 Author:Pierrick Charron pierr...@php.net Sat, 24 Mar 2012 17:59:46 -0400 Parents: 10809686f0dbcbbf0eb06c968d65e0febe1dc034 da2da13f935b2775635cd21b47a78fbf025a462d Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f05a39fce42029c126d6dc315ffdad43d27c8e9 Log: Merge branch 'PHP-5.3' into PHP-5.4 Changed paths: MM ext/pdo_mysql/mysql_statement.c Diff: 7f05a39fce42029c126d6dc315ffdad43d27c8e9 diff --combined ext/pdo_mysql/mysql_statement.c index 20e67e4,115e74c..0c2689f --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@@ -59,10 -59,12 +59,10 @@@ static int pdo_mysql_stmt_dtor(pdo_stmt pefree(S-einfo.errmsg, stmt-dbh-is_persistent); S-einfo.errmsg = NULL; } -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND if (S-stmt) { pdo_mysql_stmt_close(S-stmt); S-stmt = NULL; } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ #ifndef PDO_USE_MYSQLND if (S-params) { @@@ -75,6 -77,9 +75,6 @@@ efree(S-in_length); } -#endif /* PDO_USE_MYSQLND */ - -#ifdef HAVE_MYSQL_STMT_PREPARE if (S-bound_result) { int i; @@@ -86,9 -91,10 +86,9 @@@ efree(S-out_null); efree(S-out_length); } -#endif /* HAVE_MYSQL_STMT_PREPARE */ +#endif -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND if (S-H-server) { while (mysql_more_results(S-H-server)) { MYSQL_RES *res; @@@ -101,8 -107,8 +101,8 @@@ mysql_free_result(res); } } - } -#endif /* HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND */ + } + #if PDO_USE_MYSQLND if (!S-stmt S-current_data) { mnd_free(S-current_data); @@@ -158,7 -164,7 +158,7 @@@ static int pdo_mysql_fill_stmt_from_res } /* }}} */ -#ifdef HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { pdo_mysql_stmt *S = stmt-driver_data; @@@ -316,13 -322,14 +316,12 @@@ static int pdo_mysql_stmt_execute(pdo_s { pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; PDO_DBG_ENTER(pdo_mysql_stmt_execute); PDO_DBG_INF_FMT(stmt=%p, S-stmt); if (S-stmt) { PDO_DBG_RETURN(pdo_mysql_stmt_execute_prepared(stmt)); } -#endif /* ensure that we free any previous unfetched results */ if (S-result) { @@@ -341,6 -348,7 +340,6 @@@ static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ { -#if HAVE_MYSQL_NEXT_RESULT || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; pdo_mysql_db_handle *H = S-H; long row_count; @@@ -402,7 -410,7 +401,7 @@@ #endif /* ensure that we free any previous unfetched results */ -#if HAVE_MYSQL_STMT_PREPARE +#ifndef PDO_USE_MYSQLND if (S-stmt) { stmt-column_count = (int)mysql_num_fields(S-result); mysql_stmt_free_result(S-stmt); @@@ -424,6 -432,10 +423,6 @@@ } else { PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt TSRMLS_CC)); } -#else - strcpy(stmt-error_code, HYC00); - PDO_DBG_RETURN(0); -#endif /* HAVE_MYSQL_STMT_PREPARE */ } /* }}} */ @@@ -445,6 -457,7 +444,6 @@@ static int pdo_mysql_stmt_param_hook(pd #ifndef PDO_USE_MYSQLND PDO_MYSQL_PARAM_BIND *b; #endif -#if HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt-driver_data; PDO_DBG_ENTER(pdo_mysql_stmt_param_hook); @@@ -576,7 -589,7 +575,7 @@@ break; } } -#endif /* HAVE_MYSQL_STMT_PREPARE || PDO_USE_MYSQLND */ + PDO_DBG_RETURN(1); } /* }}} */ @@@ -597,6 -610,7 +596,6 @@@ static int pdo_mysql_stmt_fetch(pdo_stm PDO_DBG_RETURN(1); } #else -# if HAVE_MYSQL_STMT_PREPARE int ret; if (S-stmt) { @@@ -617,6 -631,7 +616,6 @@@ PDO_DBG_RETURN(1); } -# endif /* HAVE_MYSQL_STMT_PREPARE */ #endif /* PDO_USE_MYSQLND */ if (!S-result) { @@@ -707,12 -722,15 +706,12 @@@ static int