Re: [ODBC] [HY000] no error information; Error while preparingparameters

Поиск
Список
Период
Сортировка
От Daniil Megrabyan
Тема Re: [ODBC] [HY000] no error information; Error while preparingparameters
Дата
Msg-id 967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com
обсуждение исходный текст
Ответ на [ODBC] [HY000] no error information; Error while preparing parameters  (Daniil Megrabyan <danil.megrabjan@gmail.com>)
Ответы Re: [ODBC] [HY000] no error information; Error while preparingparameters  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Список pgsql-odbc
> 5 февр. 2017 г., в 10:46, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> написал(а):
>
> Oh nice.
> Could you apply an attached patch and try?

Here we go! errmsg='PQprepare failed with memory error?'

[123145367658496][[SQLAllocHandle]][123145367658496]PGAPI_AllocStmt: entering...
[123145367658496]**** PGAPI_AllocStmt: hdbc = 0x10387d200, stmt = 0x10381c800
[123145367658496]CC_add_statement: self=0x10387d200, stmt=0x10381c800
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10010
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10010
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10011
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10011
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10012
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10012
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10013
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10013
[123145367658496][[SQLSetStmtAttr]] Handle=0x10381c800 6,1
[123145367658496]PGAPI_SetStmtAttr Handle=0x10381c800 6,1(0x1)
[123145367658496]PGAPI_SetStmtOption: entering...
[123145367658496]SetStmtOption(): SQL_CURSOR_TYPE = 1 [123145367658496]-> 1
[123145367658496][SQLPrepare][123145367658496]PGAPI_Prepare: entering...
[123145367658496]**** PGAPI_Prepare: STMT_ALLOCATED, copy
[123145367658496][SQLExecute][123145367658496]PGAPI_Execute: entering...1
[123145367658496]PGAPI_Execute: clear errors...
[123145367658496]PGAPI_NumParams: entering...
[123145367658496]SC_scanQueryAndCountParams: entering...
[123145367658496]prepareParameters was not called, prepare state:7
[123145367658496]SC_recycle_statement: self= 0x10381c800
[123145367658496]PDATA_free_params:  ENTER, self=0x10381cb38
[123145367658496]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=109, stmt='INSERT INTO
Core_Message(channel_id,date, member_id, reply_id)  
VALUES(25, '2017-02-05 11:01:34', 4, NULL)
'
[123145367658496]   stmt_with_params = '(null)'
[123145367658496]about to begin SC_execute
[123145367658496]libpq_bind_and_exec: bind stmt=0x10381c800
[123145367658496]libpq_bind_and_exec: execute stmt=0x10381c800
[123145367658496]SC_scanQueryAndCountParams: entering...
[123145367658496]SC_scanQueryAndCountParams: entering...
[123145367658496]process_statements:parsed for the first command length=-1(-1) num_p=0
[123145367658496]ParseAndDescribeWithLibpq: plan_name=_PLAN0x10381c800 query=INSERT INTO Core_Message(channel_id, date,
member_id,reply_id)  
VALUES(25, '2017-02-05 11:01:34', 4, NULL)

[123145367658496]in QR_Constructor
[123145367658496]exit QR_Constructor
[123145367658496]ParseWithLibpq: plan_name=_PLAN0x10381c800 query=INSERT INTO Core_Message(channel_id, date, member_id,
reply_id) 
VALUES(25, '2017-02-05 11:01:34', 4, NULL)

[123145367658496]PQprepare failed with memory error?
[123145367658496]STATEMENT ERROR: func=ParseWithLibpq, desc='', errnum=4, errmsg='PQprepare failed with memory error?'
[123145367658496]CONN ERROR: func=ParseWithLibpq, desc='', errnum=110, errmsg='(NULL)'
[123145367658496]SC_set_Result(381c800, b325d0)[123145367658496]QResult: enter DESTRUCTOR
[123145367658496]error message len=20
[123145367658496]CC_on_abort in
[123145367658496]retval=-1
[123145367658496][[SQLGetDiagRec]]
[123145367658496]PGAPI_GetDiagRec entering type=3 rec=1
[123145367658496]ER_ReturnError: status = 4, msg = #no error information;
PQprepare failed with memory error?#
[123145367658496]         szSqlState = 'HY001',len=57, szError='no error information;
PQprepare failed with memory error?'
[123145367658496]PGAPI_GetDiagRec exiting 0
[123145367658496][[SQLGetDiagRec]]
[123145367658496]PGAPI_GetDiagRec entering type=3 rec=2
[123145367658496]ER_ReturnError: status = 4, msg = #no error information;
PQprepare failed with memory error?#
[123145367658496]PGAPI_GetDiagRec exiting 100
[123145367658496][[SQLFreeHandle]][123145367658496]PGAPI_FreeStmt: entering...hstmt=0x10381c800, fOption=1
[123145367658496]QResult: enter DESTRUCTOR
[123145367658496]QResult: in QR_close_result
[123145367658496]QResult: free memory in, fcount=0
[123145367658496]QResult: free memory out
[123145367658496]QResult: exit close_result
[123145367658496]QResult: exit DESTRUCTOR
[123145367658496]SC_init_Result(381c800)[123145367658496]SC_Destructor: self=0x10381c800, self->result=0x0,
self->hdbc=0x10387d200
[123145367658496]APD_free_params:  ENTER, self=0x10381c9d0
[123145367658496]IPD_free_params:  ENTER, self=0x10381ca40
[123145367658496]PDATA_free_params:  ENTER, self=0x10381cb38
[123145367658496]SC_Destructor: EXIT
[123145367658496][[SQLGetDiagRec]]
[123145367658496]PGAPI_GetDiagRec entering type=2 rec=1
[123145367658496]**** PGAPI_ConnectError: hdbc=0x10387d200 <512>
[123145367658496]enter CC_get_error
[123145367658496]exit CC_get_error
[123145367658496]CC_Get_error returned nothing.
[123145367658496]PGAPI_GetDiagRec exiting 100


— Daniil A Megrabyan —




В списке pgsql-odbc по дате отправления:

Предыдущее
От: Daniil Megrabyan
Дата:
Сообщение: Re: [ODBC] [HY000] no error information; Error while preparingparameters
Следующее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: [ODBC] [HY000] no error information; Error while preparingparameters