|
mysql_stmt_execute. Commands out of sync
|
|||
---|---|---|---|
#18+
Добрый день. Подскажите, что я делаю не так? Здесь все работает, данные возвращаются Код: sql 1. 2. 3. 4. 5. 6. 7.
а здесь нет. Ошибка "Commands out of sync; you can't run this command now" Код: sql 1. 2. 3. 4. 5. 6. 7. 8.
... |
|||
:
Нравится:
Не нравится:
|
|||
15.10.2020, 09:15 |
|
mysql_stmt_execute. Commands out of sync
|
|||
---|---|---|---|
#18+
https://mariadb.com/kb/en/mysql_use_result/ Просто не используй эту функцию. Ну и чтобы добить: https://dev.mysql.com/doc/c-api/5.7/en/mysql-stmt-execute.html Do not following invocation of mysql_stmt_execute() with a call to mysql_store_result() or mysql_use_result(). Those functions are not intended for processing results from prepared statements. ... |
|||
:
Нравится:
Не нравится:
|
|||
15.10.2020, 14:03 |
|
|
start [/forum/topic.php?fid=47&fpage=16&tid=1828350]: |
0ms |
get settings: |
11ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
47ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
39ms |
get tp. blocked users: |
2ms |
others: | 12ms |
total: | 147ms |
0 / 0 |