Re: freetds, sybase or php error?

"Florian Kornhoffer" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization LAUFWERK Systemhaus
Message-ID <2C7C448551D449FE91791EDD2ED9D4C7@PCFLORIAN>
Hi,


I was able to do it:

executing the php5 script shows this output on command line:
Starte NeuesDatum:<br>SELECT: SELECT DATEFORMAT(AddArbeitstage2Datum(
'2008-11-24', 1, 'KP623', 1, 'D', '80333' ), 'dd.mm.yyyy')<br>Anzahl
Ergebnisse: 1<br><pre>string(10) "25.11.2008"
</pre>Speicherzugriffsfehler
 
'Speicherzugriffsfehler' can be transleted with 'memory access failure'.
This error does not appear when called with php4 - here the script runs
til the end.


I attach both tdsdumps for php5 and php4 (I changed the IP and deleted
the lines with the db-passwords)


Regards 
Florian

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
freetds-php4.txt (text/plain, 10.5 KB)
log.c:190:Starting log file for FreeTDS 0.82
	on 2008-11-24 16:48:37 with debug flags 0x4fff.
iconv.c:197:names for ISO-8859-1: ISO-8859-1
iconv.c:197:names for UTF-8: UTF-8
iconv.c:197:names for UCS-2LE: UCS-2LE
iconv.c:197:names for UCS-2BE: UCS-2BE
iconv.c:363:iconv to convert client-side data to the "ISO-8859-1" character set
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
net.c:210:Connecting to x.x.x.x port 80 (TDS version 5.0)
net.c:264:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:303:tds_open_socket() succeeded
util.c:162:Changed query state from DEAD to IDLE
net.c:779:Sending packet
0000 02 00 02 00 00 00 00 00-64 39 35 2e 78 2d 6d 61 |........ d95.x-ma|
0010 69 6c 65 72 2e 64 65 00-00 00 00 00 00 00 00 00 |iler.de. ........|
0020 00 00 00 00 00 00 0f 64-62 61 00 00 00 00 00 00 |.......d ba......|
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
//deleted
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0060 00 00 00 00 05 33 37 38-37 36 00 00 00 00 00 00 |.....378 76......|
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0080 00 00 00 05 03 01 06 0a-09 01 00 00 00 00 00 00 |........ ........|
0090 00 00 00 00 50 48 50 20-34 2e 34 2e 37 00 00 00 |....PHP  4.4.7...|
00a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00b0 00 00 09 4c 77 4b 75 6e-64 65 6e 00 00 00 00 00 |...LwKun den.....|
00c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
//deleted
00e0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0140 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0170 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0180 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0190 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01b0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01d0 00 07 05 00 00 00 43 54-2d 4c 69 62 72 61 72 79 |......CT -Library|
01e0 0a 05 00 00 00 00 0d 11-67 65 72 6d 61 6e 00 00 |........ german..|
01f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|

net.c:779:Sending packet
0000 02 01 00 61 00 00 00 00-00 00 00 00 00 00 06 00 |...a.... ........|
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 69 73 6f |........ .....iso|
0020 5f 31 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |_1...... ........|
0030 00 00 00 00 00 00 00 00-00 00 00 05 01 35 31 32 |........ .....512|
0040 00 00 00 03 00 00 00 00-e2 16 00 01 09 00 08 0e |........ â.......|
0050 6d 7f ff ff ff fe 02 09-00 00 00 00 02 68 00 00 |m.ÿÿÿþ.. .....h..|
0060 00                     -                        |.|

token.c:312:tds_process_login_tokens()
net.c:592:Received header
0000 04 01 00 5a 00 00 00 00-                        |...Z....|

net.c:671:Received packet
0000 e3 08 00 03 05 69 73 6f-5f 31 00 ad 22 00 05 05 |ã....iso _1.­"...|
0010 00 00 00 18 41 64 61 70-74 69 76 65 20 53 65 72 |....Adap tive Ser|
0020 76 65 72 20 41 6e 79 77-68 65 72 65 08 00 00 00 |ver Anyw here....|
0030 e2 16 00 01 09 00 00 0e-61 01 ff ff fe e6 02 09 |â....... a.ÿÿþæ..|
0040 00 00 07 fe e6 68 00 00-0a fd 00 00 01 00 00 00 |...þæh.. .ý......|
0050 00 00                  -                        |..|

token.c:316:looking for login token, got  e3(ENVCHANGE)
token.c:108:tds_process_default_tokens() marker is e3(ENVCHANGE)
token.c:2356:server indicated charset change to "iso_1"
iconv.c:985:setting server single-byte charset to "ISO-8859-1"
token.c:316:looking for login token, got  ad(LOGINACK)
token.c:316:looking for login token, got  e2(CAPABILITY)
token.c:108:tds_process_default_tokens() marker is e2(CAPABILITY)
token.c:316:looking for login token, got  fd(DONE)
token.c:108:tds_process_default_tokens() marker is fd(DONE)
token.c:2201:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2217:tds_process_end() state set to TDS_IDLE
token.c:2232:                rows_affected = 0
token.c:393:leaving tds_process_login_tokens() returning 1
mem.c:563:tds_free_all_results()
util.c:162:Changed query state from IDLE to QUERYING
util.c:162:Changed query state from QUERYING to PENDING
net.c:779:Sending packet
0000 0f 01 00 21 00 00 00 00-21 14 00 00 00 00 73 65 |...!.... !.....se|
0010 74 20 74 65 78 74 73 69-7a 65 20 36 34 35 31 32 |t textsi ze 64512|
0020 20                     -                        | |

token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf02e8, 0xbfcf02e4, 0x100)
util.c:162:Changed query state from PENDING to READING
net.c:592:Received header
0000 04 01 00 11 00 00 00 00-                        |........|

net.c:671:Received packet
0000 fd 00 00 01 00 00 00 00-00                      |ý....... .|

token.c:510:processing result tokens.  marker is  fd(DONE)
token.c:2201:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2217:tds_process_end() state set to TDS_IDLE
util.c:162:Changed query state from READING to IDLE
token.c:2232:                rows_affected = 0
util.c:110:logic error: cannot change query state from IDLE to PENDING
token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf02e8, 0xbfcf02e4, 0x100)
token.c:498:tds_process_tokens() state is COMPLETED
ct.c:623:leaving ct_connect() returning 1
ct.c:641:ct_cmd_alloc()
ct.c:215:setting command state from IDLE to IDLE
ct.c:660:ct_cmd_alloc() : allocating command list to head
ct.c:682:ct_command()
ct.c:215:setting command state from IDLE to IDLE
ct.c:215:setting command state from IDLE to IDLE
ct.c:215:setting command state from IDLE to READY
ct.c:844:ct_send() command_type = 148
mem.c:563:tds_free_all_results()
util.c:162:Changed query state from IDLE to QUERYING
util.c:162:Changed query state from QUERYING to PENDING
net.c:779:Sending packet
0000 0f 01 00 70 00 00 00 00-21 63 00 00 00 00 53 45 |...p.... !c....SE|
0010 4c 45 43 54 20 44 41 54-45 46 4f 52 4d 41 54 28 |LECT DAT EFORMAT(|
0020 41 64 64 41 72 62 65 69-74 73 74 61 67 65 32 44 |AddArbei tstage2D|
0030 61 74 75 6d 28 20 27 32-30 30 38 2d 31 31 2d 32 |atum( '2 008-11-2|
0040 34 27 2c 20 31 2c 20 27-4b 50 36 32 33 27 2c 20 |4', 1, ' KP623', |
0050 31 2c 20 27 44 27 2c 20-27 38 30 33 33 33 27 20 |1, 'D',  '80333' |
0060 29 2c 20 27 64 64 2e 6d-6d 2e 79 79 79 79 27 29 |), 'dd.m m.yyyy')|

ct.c:215:setting command state from READY to SENT
ct.c:965:ct_send() succeeded
ct.c:1100:ct_results()
token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf0188, 0xbfcf0184, 0x6914)
util.c:162:Changed query state from PENDING to READING
net.c:592:Received header
0000 04 01 00 49 00 00 00 00-                        |...I....|

net.c:671:Received packet
0000 ee 29 00 01 00 1e 44 41-54 45 46 4f 52 4d 41 54 |î)....DA TEFORMAT|
0010 28 41 64 64 41 72 62 65-69 74 73 74 61 67 65 32 |(AddArbe itstage2|
0020 44 61 74 75 20 02 00 00-00 27 0a 00 d1 0a 32 35 |Datu ... .'..Ñ.25|
0030 2e 31 31 2e 32 30 30 38-fd 10 00 01 00 01 00 00 |.11.2008 ý.......|
0040 00                     -                        |.|

token.c:510:processing result tokens.  marker is  ee(RESULT)
mem.c:563:tds_free_all_results()
token.c:1596:processing result. type = 39(varchar), varint_size 1
token.c:1617:processing result. column_size 10
util.c:162:Changed query state from READING to PENDING
ct.c:1157:ct_results() process_result_tokens returned 1 (type 4049) 
token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf0188, 0xbfcf0184, 0x6914)
util.c:162:Changed query state from PENDING to READING
token.c:510:processing result tokens.  marker is  d1(ROW)
token.c:621:tds_process_tokens::SET_RETURN stopping on current token
util.c:162:Changed query state from READING to PENDING
ct.c:1157:ct_results() process_result_tokens returned 1 (type 4040) 
ct.c:2356:ct_res_info()
ct.c:2375:ct_res_info(): Number of columns is 1
ct.c:2300:ct_describe()
ct.c:1890:_ct_get_client_type(type 39, user 2, size 10)
ct.c:2321:ct_describe() datafmt->datatype = 0 server type 39
ct.c:1434:ct_bind() datafmt count = 1 column_number = 1
ct.c:1490:ct_fetch()
token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf00c8, (nil), 0x1608)
util.c:162:Changed query state from PENDING to READING
token.c:510:processing result tokens.  marker is  d1(ROW)
token.c:2166:tds_process_row(): reading column 0 
token.c:1915:tds_get_data: type 39, varint size 1
token.c:1975:tds_get_data(): wire column size is 10 
util.c:162:Changed query state from READING to PENDING
ct.c:1555:inside ct_fetch()process_row_tokens returned 1
ct.c:1704:_ct_bind_data()
ct.c:1711:_ct_bind_data(): column_type: 39 column_len: 10
ct.c:2003:_ct_get_server_type(0)
ct.c:1890:_ct_get_client_type(type 39, user 2, size 10)
cs.c:463:cs_convert()
ct.c:2003:_ct_get_server_type(0)
ct.c:2003:_ct_get_server_type(0)
cs.c:470:cs_convert() srctype = 47 (10) desttype = 47 (11)
cs.c:495:cs_convert() srctype = desttype
cs.c:531:cs_convert() desttype = character
ct.c:1490:ct_fetch()
ct.c:1100:ct_results()
token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf00e8, 0xbfcf00e4, 0x6914)
util.c:162:Changed query state from PENDING to READING
token.c:510:processing result tokens.  marker is  fd(DONE)
token.c:2201:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 1
token.c:2217:tds_process_end() state set to TDS_IDLE
util.c:162:Changed query state from READING to IDLE
token.c:2232:                rows_affected = 1
util.c:110:logic error: cannot change query state from IDLE to PENDING
ct.c:1157:ct_results() process_result_tokens returned 1 (type 4052) 
ct.c:1262:ct_results() results state = 2
ct.c:1263:ct_results() command type  = 148
ct.c:1264:ct_results() dynamic cmd   = 0
ct.c:1100:ct_results()
token.c:495:tds_process_tokens(0x9b5ac88, 0xbfcf00e8, 0xbfcf00e4, 0x6914)
token.c:498:tds_process_tokens() state is COMPLETED
ct.c:1157:ct_results() process_result_tokens returned 2 (type 4052) 
ct.c:215:setting command state from SENT to READY
ct.c:334:ct_con_props() action = CS_GET property = 9143
ct.c:1853:ct_close()
mem.c:563:tds_free_all_results()
util.c:162:Changed query state from IDLE to DEAD
ct.c:1865:ct_con_drop()
freetds-php5.txt (text/plain, 10.3 KB)
log.c:190:Starting log file for FreeTDS 0.82
	on 2008-11-24 16:35:41 with debug flags 0x4fff.
iconv.c:197:names for ISO-8859-1: ISO-8859-1
iconv.c:197:names for UTF-8: UTF-8
iconv.c:197:names for UCS-2LE: UCS-2LE
iconv.c:197:names for UCS-2BE: UCS-2BE
iconv.c:363:iconv to convert client-side data to the "ISO-8859-1" character set
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
net.c:210:Connecting to x.x.x.x port 80 (TDS version 5.0)
net.c:264:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:303:tds_open_socket() succeeded
util.c:162:Changed query state from DEAD to IDLE
net.c:779:Sending packet
0000 02 00 02 00 00 00 00 00-64 39 35 2e 78 2d 6d 61 |........ d95.x-ma|
0010 69 6c 65 72 2e 64 65 00-00 00 00 00 00 00 00 00 |iler.de. ........|
0020 00 00 00 00 00 00 0f 64-62 61 00 00 00 00 00 00 |.......d ba......|
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
//deleted
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0060 00 00 00 00 05 33 37 38-37 36 00 00 00 00 00 00 |.....378 76......|
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0080 00 00 00 05 03 01 06 0a-09 01 00 00 00 00 00 00 |........ ........|
0090 00 00 00 00 50 48 50 20-35 2e 32 2e 36 00 00 00 |....PHP  5.2.6...|
00a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00b0 00 00 09 4c 77 4b 75 6e-64 65 6e 00 00 00 00 00 |...LwKun den.....|
00c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
//deleted
00e0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0140 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0170 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0180 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0190 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01b0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01d0 00 07 05 00 00 00 43 54-2d 4c 69 62 72 61 72 79 |......CT -Library|
01e0 0a 05 00 00 00 00 0d 11-67 65 72 6d 61 6e 00 00 |........ german..|
01f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|

net.c:779:Sending packet
0000 02 01 00 61 00 00 00 00-00 00 00 00 00 00 06 00 |...a.... ........|
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 69 73 6f |........ .....iso|
0020 5f 31 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |_1...... ........|
0030 00 00 00 00 00 00 00 00-00 00 00 05 01 35 31 32 |........ .....512|
0040 00 00 00 03 00 00 00 00-e2 16 00 01 09 00 08 0e |........ â.......|
0050 6d 7f ff ff ff fe 02 09-00 00 00 00 02 68 00 00 |m.ÿÿÿþ.. .....h..|
0060 00                     -                        |.|

token.c:312:tds_process_login_tokens()
net.c:592:Received header
0000 04 01 00 5a 00 00 00 00-                        |...Z....|

net.c:671:Received packet
0000 e3 08 00 03 05 69 73 6f-5f 31 00 ad 22 00 05 05 |ã....iso _1.­"...|
0010 00 00 00 18 41 64 61 70-74 69 76 65 20 53 65 72 |....Adap tive Ser|
0020 76 65 72 20 41 6e 79 77-68 65 72 65 08 00 00 00 |ver Anyw here....|
0030 e2 16 00 01 09 00 00 0e-61 01 ff ff fe e6 02 09 |â....... a.ÿÿþæ..|
0040 00 00 07 fe e6 68 00 00-0a fd 00 00 01 00 00 00 |...þæh.. .ý......|
0050 00 00                  -                        |..|

token.c:316:looking for login token, got  e3(ENVCHANGE)
token.c:108:tds_process_default_tokens() marker is e3(ENVCHANGE)
token.c:2356:server indicated charset change to "iso_1"
iconv.c:985:setting server single-byte charset to "ISO-8859-1"
token.c:316:looking for login token, got  ad(LOGINACK)
token.c:316:looking for login token, got  e2(CAPABILITY)
token.c:108:tds_process_default_tokens() marker is e2(CAPABILITY)
token.c:316:looking for login token, got  fd(DONE)
token.c:108:tds_process_default_tokens() marker is fd(DONE)
token.c:2201:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2217:tds_process_end() state set to TDS_IDLE
token.c:2232:                rows_affected = 0
token.c:393:leaving tds_process_login_tokens() returning 1
mem.c:563:tds_free_all_results()
util.c:162:Changed query state from IDLE to QUERYING
util.c:162:Changed query state from QUERYING to PENDING
net.c:779:Sending packet
0000 0f 01 00 21 00 00 00 00-21 14 00 00 00 00 73 65 |...!.... !.....se|
0010 74 20 74 65 78 74 73 69-7a 65 20 36 34 35 31 32 |t textsi ze 64512|
0020 20                     -                        | |

token.c:495:tds_process_tokens(0x894a2f8, 0xbfa446d8, 0xbfa446d4, 0x100)
util.c:162:Changed query state from PENDING to READING
net.c:592:Received header
0000 04 01 00 11 00 00 00 00-                        |........|

net.c:671:Received packet
0000 fd 00 00 01 00 00 00 00-00                      |ý....... .|

token.c:510:processing result tokens.  marker is  fd(DONE)
token.c:2201:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2217:tds_process_end() state set to TDS_IDLE
util.c:162:Changed query state from READING to IDLE
token.c:2232:                rows_affected = 0
util.c:110:logic error: cannot change query state from IDLE to PENDING
token.c:495:tds_process_tokens(0x894a2f8, 0xbfa446d8, 0xbfa446d4, 0x100)
token.c:498:tds_process_tokens() state is COMPLETED
ct.c:623:leaving ct_connect() returning 1
ct.c:641:ct_cmd_alloc()
ct.c:215:setting command state from IDLE to IDLE
ct.c:660:ct_cmd_alloc() : allocating command list to head
ct.c:682:ct_command()
ct.c:215:setting command state from IDLE to IDLE
ct.c:215:setting command state from IDLE to IDLE
ct.c:215:setting command state from IDLE to READY
ct.c:844:ct_send() command_type = 148
mem.c:563:tds_free_all_results()
util.c:162:Changed query state from IDLE to QUERYING
util.c:162:Changed query state from QUERYING to PENDING
net.c:779:Sending packet
0000 0f 01 00 70 00 00 00 00-21 63 00 00 00 00 53 45 |...p.... !c....SE|
0010 4c 45 43 54 20 44 41 54-45 46 4f 52 4d 41 54 28 |LECT DAT EFORMAT(|
0020 41 64 64 41 72 62 65 69-74 73 74 61 67 65 32 44 |AddArbei tstage2D|
0030 61 74 75 6d 28 20 27 32-30 30 38 2d 31 31 2d 32 |atum( '2 008-11-2|
0040 34 27 2c 20 31 2c 20 27-4b 50 36 32 33 27 2c 20 |4', 1, ' KP623', |
0050 31 2c 20 27 44 27 2c 20-27 38 30 33 33 33 27 20 |1, 'D',  '80333' |
0060 29 2c 20 27 64 64 2e 6d-6d 2e 79 79 79 79 27 29 |), 'dd.m m.yyyy')|

ct.c:215:setting command state from READY to SENT
ct.c:965:ct_send() succeeded
ct.c:1100:ct_results()
token.c:495:tds_process_tokens(0x894a2f8, 0xbfa448d8, 0xbfa448d4, 0x6914)
util.c:162:Changed query state from PENDING to READING
net.c:592:Received header
0000 04 01 00 49 00 00 00 00-                        |...I....|

net.c:671:Received packet
0000 ee 29 00 01 00 1e 44 41-54 45 46 4f 52 4d 41 54 |î)....DA TEFORMAT|
0010 28 41 64 64 41 72 62 65-69 74 73 74 61 67 65 32 |(AddArbe itstage2|
0020 44 61 74 75 20 02 00 00-00 27 0a 00 d1 0a 32 35 |Datu ... .'..Ñ.25|
0030 2e 31 31 2e 32 30 30 38-fd 10 00 01 00 01 00 00 |.11.2008 ý.......|
0040 00                     -                        |.|

token.c:510:processing result tokens.  marker is  ee(RESULT)
mem.c:563:tds_free_all_results()
token.c:1596:processing result. type = 39(varchar), varint_size 1
token.c:1617:processing result. column_size 10
util.c:162:Changed query state from READING to PENDING
ct.c:1157:ct_results() process_result_tokens returned 1 (type 4049) 
token.c:495:tds_process_tokens(0x894a2f8, 0xbfa448d8, 0xbfa448d4, 0x6914)
util.c:162:Changed query state from PENDING to READING
token.c:510:processing result tokens.  marker is  d1(ROW)
token.c:621:tds_process_tokens::SET_RETURN stopping on current token
util.c:162:Changed query state from READING to PENDING
ct.c:1157:ct_results() process_result_tokens returned 1 (type 4040) 
ct.c:2356:ct_res_info()
ct.c:2375:ct_res_info(): Number of columns is 1
ct.c:2300:ct_describe()
ct.c:1890:_ct_get_client_type(type 39, user 2, size 10)
ct.c:2321:ct_describe() datafmt->datatype = 0 server type 39
ct.c:1434:ct_bind() datafmt count = 1 column_number = 1
ct.c:1490:ct_fetch()
token.c:495:tds_process_tokens(0x894a2f8, 0xbfa44818, (nil), 0x1608)
util.c:162:Changed query state from PENDING to READING
token.c:510:processing result tokens.  marker is  d1(ROW)
token.c:2166:tds_process_row(): reading column 0 
token.c:1915:tds_get_data: type 39, varint size 1
token.c:1975:tds_get_data(): wire column size is 10 
util.c:162:Changed query state from READING to PENDING
ct.c:1555:inside ct_fetch()process_row_tokens returned 1
ct.c:1704:_ct_bind_data()
ct.c:1711:_ct_bind_data(): column_type: 39 column_len: 10
ct.c:2003:_ct_get_server_type(0)
ct.c:1890:_ct_get_client_type(type 39, user 2, size 10)
cs.c:463:cs_convert()
ct.c:2003:_ct_get_server_type(0)
ct.c:2003:_ct_get_server_type(0)
cs.c:470:cs_convert() srctype = 47 (10) desttype = 47 (11)
cs.c:495:cs_convert() srctype = desttype
cs.c:531:cs_convert() desttype = character
ct.c:1490:ct_fetch()
ct.c:1100:ct_results()
token.c:495:tds_process_tokens(0x894a2f8, 0xbfa44838, 0xbfa44834, 0x6914)
util.c:162:Changed query state from PENDING to READING
token.c:510:processing result tokens.  marker is  fd(DONE)
token.c:2201:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 1
token.c:2217:tds_process_end() state set to TDS_IDLE
util.c:162:Changed query state from READING to IDLE
token.c:2232:                rows_affected = 1
util.c:110:logic error: cannot change query state from IDLE to PENDING
ct.c:1157:ct_results() process_result_tokens returned 1 (type 4052) 
ct.c:1262:ct_results() results state = 2
ct.c:1263:ct_results() command type  = 148
ct.c:1264:ct_results() dynamic cmd   = 0
ct.c:1100:ct_results()
token.c:495:tds_process_tokens(0x894a2f8, 0xbfa44838, 0xbfa44834, 0x6914)
token.c:498:tds_process_tokens() state is COMPLETED
ct.c:1157:ct_results() process_result_tokens returned 2 (type 4052) 
ct.c:215:setting command state from SENT to READY
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.