[Ajuda] Salvamento sql
#3

Quote:
Originally Posted by WendeLKILL
Посмотреть сообщение
Ja verificou se quando o valor й setado muda na tabela?
use o mysql_log(LOG_DEBUG); e manda o debug
Sim. Salva sу que quando reinicio o server zera a coluna.

Код:
[16:49:43] [DEBUG] mysql_connect - host: "127.0.0.1", user: "root", database: "server2", password: "****", port: 3306, autoreconnect: true, pool_size: 0
[16:49:43] [DEBUG] CMySQLHandle::Create - creating new connection..
[16:49:43] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[16:49:43] [DEBUG] CMySQLHandle::Create - connection created (id: 1)
[16:49:43] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[16:49:43] [DEBUG] CMySQLConnection::Connect - connection was successful
[16:49:43] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[16:49:43] [DEBUG] mysql_errno - connection: 1
[16:49:43] [DEBUG] mysql_format - connection: 1, len: 1024, format: "UPDATE `empresas` SET `Produto` = %d WHERE `ID` = 1"
[16:49:43] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `empresas` SET `Produto` = 0 WHERE `ID` = 1", callback: "(null)", format: "(null)"
[16:49:43] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[16:49:43] [DEBUG] CMySQLConnection::Connect - connection was successful
[16:49:43] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[16:49:43] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[16:49:43] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 35.210 milliseconds
[16:49:43] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[16:49:49] [DEBUG] mysql_format - connection: 1, len: 1024, format: "UPDATE `empresas` SET `Produto` = %d WHERE `ID` = 1"
[16:49:49] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `empresas` SET `Produto` = 100 WHERE `ID` = 1", callback: "(null)", format: "(null)"
[16:49:49] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[16:49:49] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 26.117 milliseconds
[16:49:49] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[16:49:56] [DEBUG] mysql_format - connection: 1, len: 1024, format: "UPDATE `empresas` SET `Produto` = %d WHERE `ID` = 1"
[16:49:56] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `empresas` SET `Produto` = 200 WHERE `ID` = 1", callback: "(null)", format: "(null)"
[16:49:56] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[16:49:56] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 34.992 milliseconds
[16:49:56] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
Reply


Messages In This Thread
Salvamento sql - by StrondaXxT - 19.01.2015, 17:57
Re: Salvamento sql - by WendeLKILL - 19.01.2015, 18:01
Re: Salvamento sql - by StrondaXxT - 19.01.2015, 18:10
Re: Salvamento sql - by ExPLORE - 19.01.2015, 19:25
Re: Salvamento sql - by StrondaXxT - 19.01.2015, 22:07

Forum Jump:


Users browsing this thread: 1 Guest(s)