|
ADORecordSet_mysqli::__set_state(array(
'databaseType' => 'mysqli',
'canSeek' => true,
'dataProvider' => 'native',
'fields' =>
array (
'CUST_CODE' => 'SKYLIGHT',
'CUST_NAME' => '天彩电子',
'CUST_KP_NO' => 'EN-W2R20M2520-4-V',
'QTY1' => '15813',
'TOTAL' => '80576399',
),
'blobSize' => 100,
'sql' => '
select CUST_CODE,CUST_NAME,CUST_KP_NO,count(1) QTY1,sum(ext_qty) TOTAL from
(SELECT B.CUST_CODE,C.CUST_NAME,A.* FROM smt.r_tr_sn a
inner join smt.c_cust_kp_config b on a.cust_kp_no=b.cust_kp_no
left join smt.c_cust_config c on b.cust_code=c.cust_code
where a.location_flag=0
) aa
LIMIT 0,15',
'EOF' => false,
'emptyTimeStamp' => ' ',
'emptyDate' => ' ',
'debug' => false,
'timeCreated' => 0,
'bind' => false,
'fetchMode' => 1,
'connection' =>
ADODB_mysqli::__set_state(array(
'databaseType' => 'mysqli',
'dataProvider' => 'mysql',
'hasInsertID' => true,
'hasAffectedRows' => true,
'metaTablesSQL' => 'SELECT
TABLE_NAME,
CASE WHEN TABLE_TYPE = \'VIEW\' THEN \'V\' ELSE \'T\' END
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA=',
'metaColumnsSQL' => 'SHOW COLUMNS FROM `%s`',
'fmtTimeStamp' => '\'Y-m-d H:i:s\'',
'hasLimit' => true,
'hasMoveFirst' => true,
'hasGenID' => true,
'isoDates' => true,
'sysDate' => 'CURDATE()',
'sysTimeStamp' => 'NOW()',
'hasTransactions' => true,
'forceNewConnect' => false,
'poorAffectedRows' => true,
'clientFlags' => 0,
'substr' => 'substring',
'port' => 3306,
'socket' => '',
'_bindInputArray' => false,
'nameQuote' => '`',
'optionFlags' =>
array (
0 =>
array (
0 => 5,
1 => 0,
),
),
'arrayClass' => 'ADORecordSet_array_mysqli',
'multiQuery' => false,
'_genIDSQL' => 'update %s set id=LAST_INSERT_ID(id+1);',
'_genSeqSQL' => 'create table if not exists %s (id int not null)',
'_genSeqCountSQL' => 'select count(*) from %s',
'_genSeq2SQL' => 'insert into %s values (%s)',
'_dropSeqSQL' => 'drop table if exists %s',
'database' => 'sfc',
'host' => '127.0.0.1',
'user' => 'root',
'password' => 'not stored',
'debug' => false,
'maxblobsize' => 262144,
'concat_operator' => '+',
'length' => 'length',
'random' => 'rand()',
'upperCase' => 'upper',
'fmtDate' => '\'Y-m-d\'',
'true' => '1',
'false' => '0',
'replaceQuote' => '\\\'',
'charSet' => false,
'metaDatabasesSQL' => '',
'uniqueOrderBy' => false,
'emptyDate' => ' ',
'emptyTimeStamp' => ' ',
'lastInsID' => false,
'hasTop' => false,
'readOnly' => false,
'genID' => 0,
'raiseErrorFn' => false,
'cacheSecs' => 3600,
'memCache' => false,
'memCacheHost' => NULL,
'memCachePort' => 11211,
'memCacheCompress' => false,
'sysUTimeStamp' => false,
'noNullStrings' => false,
'numCacheHits' => 0,
'numCacheMisses' => 0,
'pageExecuteCountRows' => true,
'uniqueSort' => false,
'leftOuter' => false,
'rightOuter' => false,
'ansiOuter' => false,
'autoRollback' => false,
'fnExecute' => false,
'fnCacheExecute' => false,
'blobEncodeType' => false,
'rsPrefix' => 'ADORecordSet_',
'autoCommit' => true,
'transOff' => 0,
'transCnt' => 0,
'fetchMode' => 2,
'null2null' => 'null',
'bulkBind' => false,
'_oldRaiseFn' => false,
'_transOK' => NULL,
'_connectionID' =>
mysqli::__set_state(array(
'affected_rows' => NULL,
'client_info' => NULL,
'client_version' => NULL,
'connect_errno' => NULL,
'connect_error' => NULL,
'errno' => NULL,
'error' => NULL,
'error_list' => NULL,
'field_count' => NULL,
'host_info' => NULL,
'info' => NULL,
'insert_id' => NULL,
'server_info' => NULL,
'server_version' => NULL,
'stat' => NULL,
'sqlstate' => NULL,
'protocol_version' => NULL,
'thread_id' => NULL,
'warning_count' => NULL,
)),
'_errorMsg' => false,
'_errorCode' => false,
'_queryID' =>
mysqli_result::__set_state(array(
'current_field' => NULL,
'field_count' => NULL,
'lengths' => NULL,
'num_rows' => NULL,
'type' => NULL,
)),
'_isPersistentConnection' => false,
'_evalAll' => false,
'_affected' => false,
'_logsql' => false,
'_transmode' => '',
'connectionParameters' =>
array (
),
'databaseName' => 'sfc',
'_maxRecordCount' => '15813',
)),
'_numOfRows' => 1,
'_numOfFields' => 5,
'_queryID' =>
mysqli_result::__set_state(array(
'current_field' => NULL,
'field_count' => NULL,
'lengths' => NULL,
'num_rows' => NULL,
'type' => NULL,
)),
'_currentRow' => 0,
'_closed' => false,
'_inited' => true,
'_obj' => NULL,
'_names' => NULL,
'_currentPage' => 1,
'_atFirstPage' => true,
'_atLastPage' => false,
'_lastPageNo' => 1055,
'_maxRecordCount' => '15813',
'datetime' => false,
'adodbFetchMode' => 2,
'rowsPerPage' => 15,
))
|
|