ret: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetFunctions (thread: 54) --- FunctionId: 999 SupportedPtr: d5d6c2f0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 23 InfoValuePtr: d92a128e StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 24 InfoValuePtr: d92a1290 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 81 InfoValuePtr: d92a127c StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 6 InfoValuePtr: d5d6d358 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 79 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 83 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 78 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 81 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 72 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 82 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 44 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 43 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 144 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 150 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 167 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 146 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 151 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 168 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 111 InfoValuePtr: d5d6d090 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 16 InfoValuePtr: 0 StringLengthPtr: d5d6d024 >>> 2018-01-31 17:02:26 --- MA_SQLAllocHandle(Stmt) (thread: 54) --- InputHandle: d5f4ea20 OutputHandlePtr: d5d6cc30 -->inited d5f5fa20 *OutputHandlePtr: d5f6a380 <<< --- end of function, returning 0 --- ->MADB_StmtPrepare mysql_stmt_prepare(d5f5fa20,SELECT IF(DATABASE() IS NOT NULL,DATABASE(),'null')) ->MADB_StmtExecute mariadb_stmt_execute(d5f5fa20)(SELECT IF(DATABASE() IS NOT NULL,DATABASE(),'null')) ->MA_SQLFreeStmt Stmt: d5f6a380 Option: 1 -->closing d5f5fa20 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 23 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 24 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 46 InfoValuePtr: d5d6d020 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SetConnectAttrW (thread: 54) --- Dbc: d5f4ea20 Attribute: 1 ValuePtr: 0 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SetConnectAttrW (thread: 54) --- Dbc: d5f4ea20 Attribute: 0 ValuePtr: 0 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 17 InfoValuePtr: d5d6d030 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 6 InfoValuePtr: d5d6cfa0 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 6 InfoValuePtr: d5d6d030 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 6 InfoValuePtr: d5d6d030 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 1 InfoValuePtr: d5d6d310 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetConnectAttr (thread: 54) --- Attribute: 109 ValuePtr: d5d6d0e0 BufferLength: 514 StringLengthPtr: 0 >>> 2018-01-31 17:02:26 --- MA_SQLAllocHandle(Stmt) (thread: 54) --- InputHandle: d5f4ea20 OutputHandlePtr: d5d6cb50 -->inited d5f4d400 *OutputHandlePtr: d5f6a380 <<< --- end of function, returning 0 --- ->MADB_StmtPrepare mysql_stmt_prepare(d5f4d400,SELECT IF(DATABASE() IS NOT NULL,DATABASE(),'null')) ->MADB_StmtExecute mariadb_stmt_execute(d5f4d400)(SELECT IF(DATABASE() IS NOT NULL,DATABASE(),'null')) ->MA_SQLFreeStmt Stmt: d5f6a380 Option: 1 -->closing d5f4d400 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 26 InfoValuePtr: d5d6d320 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- MA_SQLAllocHandle(Stmt) (thread: 54) --- InputHandle: d5f4ea20 OutputHandlePtr: d92a2178 -->inited d5f8dfc0 *OutputHandlePtr: d5f5fcd0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 18 ValuePtr: a StringLength: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 18 ValuePtr: 0 StringLength: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 17 ValuePtr: d5d6d848 StringLength: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 17 ValuePtr: 0 StringLength: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetInfo (thread: 54) --- InfoType: 36 InfoValuePtr: d5d6d4e0 StringLengthPtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLGetConnectAttr (thread: 54) --- Attribute: 108 ValuePtr: d5d6d4c0 BufferLength: 4 StringLengthPtr: 0 2018-01-31 17:02:26 [42S02](1146)[ma-3.0.2]Table 'CDR.SESSION_VARIABLES' doesn't exist <<< --- end of function, returning -1 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 0 ValuePtr: 1e StringLength: -6 2018-01-31 17:02:26 [01S02](0)[ma-3.0.2][5.5.56-MariaDB]Option value changed to default (no timeout) <<< --- end of function, returning 1 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 6 ValuePtr: 0 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLExecDirectW (thread: 54) --- Stmt: d5f5fcd0 CpStmt: select cast(1 as decimal(19,4)) ->MADB_StmtPrepare mysql_stmt_prepare(d5f8dfc0,select cast(1 as decimal(19,4))) ->MADB_StmtExecute mariadb_stmt_execute(d5f8dfc0)(select cast(1 as decimal(19,4))) <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLDescribeColW (thread: 54) --- Stmt: d5f5fcd0 ColumnNumber: 1 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLColAttributeW (thread: 54) --- StatementHandle: d5f5fcd0 ColumnNumber: 1 FieldIdentifier: 18 CharacterAttributePtr: d5d6d0a0 BufferLength: 1024 StringLengthPtr: d5d6d08c NumericAttributePtr: 0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLColAttributeW (thread: 54) --- StatementHandle: d5f5fcd0 ColumnNumber: 1 FieldIdentifier: 9 CharacterAttributePtr: 0 BufferLength: 0 StringLengthPtr: d5d6d078 NumericAttributePtr: d5d6d070 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLColAttributeW (thread: 54) --- StatementHandle: d5f5fcd0 ColumnNumber: 1 FieldIdentifier: 10 CharacterAttributePtr: 0 BufferLength: 0 StringLengthPtr: d5d6d078 NumericAttributePtr: d5d6d070 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 9 ValuePtr: 2 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 5 ValuePtr: b0 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 23 ValuePtr: d5d6ddf8 StringLength: -4 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 23 ValuePtr: 0 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 11 ValuePtr: 0 StringLength: -6 2018-01-31 17:02:26 [01S02](0)[ma-3.0.2][5.5.56-MariaDB]Option value changed to default (SQL_RD_ON) <<< --- end of function, returning 1 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 11 ValuePtr: 1 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 23 ValuePtr: d5f79530 StringLength: -4 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLBindCol (thread: 54) --- Stmt: d5f5fcd0 ColumnNumber: 1 TargetType: 2 BufferLength: 19 StrLen_or_Ind: 90 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLSetStmtAttr (thread: 54) --- Attribute: 9 ValuePtr: 1 StringLength: -6 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:26 --- SQLExtendedFetch (thread: 54) --- FetchOrientation: 1 FetchOffset: 0 RowCountPtr: d5d6de28 RowStatusArray: d5f5d170 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:32 --- SQLFreeStmt (thread: 54) --- ->MA_SQLFreeStmt Stmt: d5f5fcd0 Option: 2 >>> 2018-01-31 17:02:32 --- SQLFreeStmt (thread: 54) --- ->MA_SQLFreeStmt Stmt: d5f5fcd0 Option: 0 mysql_stmt_free_result(d5f8dfc0) -->resetting d5f8dfc0 >>> 2018-01-31 17:02:32 --- SQLFreeHandle (thread: 54) --- HandleType: 3 Handle: d5f5fcd0 ->MA_SQLFreeStmt Stmt: d5f5fcd0 Option: 1 -->closing d5f8dfc0 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:32 --- SQLDisconnect (thread: 54) --- ConnectionHandle: d5f4ea20 <<< --- end of function, returning 0 --- >>> 2018-01-31 17:02:32 --- SQLFreeHandle (thread: 0) --- HandleType: 2 Handle: d5f4ea20 ->MADB_DbcFree Connection: d5f4ea20