Skip to Content.
Sympa Menu

freetds - [freetds] TDS Handshake failed when connecting to MS SQL Server 2017 on Windows

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] TDS Handshake failed when connecting to MS SQL Server 2017 on Windows
  • Date: Mon, 11 Dec 2017 17:08:35 +0100

Hello,

We try to connect with FreeTDS 1.00.15 from HP/UX to SQL Server 2017 on Linux
or Windows.

On Window we have SQL Server version:

14.0.1000.169

On RHE7 Linux we have SQL Server version:

14.0.3006.16-3

We can connect to the Linux server (freetds-ok.log), but we get a handshake
error when
connecting to the Windows server (freetds-fail.log)

We see:

0460 fc 77 c8 1c f7 5c a5 f9-6f 5d 48 b0 61 fc d5 c8 |�w�.�\�� o]H�a���|
0470 34 de cf 04 67 dd 95 92-b0 15 6c e3 cb c6 8a e5 |4��.g�.. �.l���.�|
0480 5d ed 52 98 e3 b8 64 c3-ca 5a e7 93 2d 0e 00 00 |]�R.��d� �Z�.-...|
0490 00 - |.|

tls.c:86:in tds_pull_func_login
tls.c:116:in tds_push_func_login
packet.c:741:Sending packet
0000 12 01 00 0f 00 00 00 00-15 03 01 00 02 02 50 |........ ......P|

tls.c:924:handshake failed
login.c:530:login packet rejected
query.c:3796:tds_disconnect()
util.c:165:Changed query state from IDLE to DEAD


Any idea?

See attached logs.

Thanks!
Seb
log.c:167:Starting log file for FreeTDS 1.00.15
	on 2017-12-11 16:48:00 with debug flags 0x4fff.
iconv.c:325:tds_iconv_open(600000000012dc60, UTF-8)
iconv.c:185:local name for ISO-8859-1 is ISO8859-1
iconv.c:185:local name for UTF-8 is UTF-8
iconv.c:185:local name for UCS-2LE is UCS-2LE
iconv.c:185:local name for UCS-2BE is UCS-2BE
iconv.c:343:setting up conversions for client charset "UTF-8"
iconv.c:345:preparing iconv for "UTF-8" <-> "UCS-2LE" conversion
iconv.c:384:tds_iconv_open: done
net.c:216:Connecting to 10.0.50.102 port 1433 (TDS version 7.3)
net.c:242:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:343:tds_open_socket() succeeded
packet.c:741:Sending packet
0000 12 01 00 3a 00 00 00 00-00 00 1a 00 06 01 00 20 |...:.... ....... |
0010 00 01 02 00 21 00 0c 03-00 2d 00 04 04 00 31 00 |....!... .-....1.|
0020 01 ff 09 00 00 00 00 00-00 4d 53 53 51 4c 53 65 |.ÿ...... .MSSQLSe|
0030 72 76 65 72 00 89 66 00-00 00                   |rver..f. ..|

packet.c:639:Received packet
0000 04 01 00 2b 00 00 01 00-00 00 1a 00 06 01 00 20 |...+.... ....... |
0010 00 01 02 00 21 00 01 03-00 22 00 00 04 00 22 00 |....!... ."....".|
0020 01 ff 0e 00 03 e8 00 00-00 00 00                |.ÿ...è.. ...|

login.c:1185:detected flag 0
tls.c:116:in tds_push_func_login
tls.c:86:in tds_pull_func_login
packet.c:741:Sending packet
0000 12 01 00 57 00 00 00 00-16 03 01 00 4a 01 00 00 |...W.... ....J...|
0010 46 03 01 5a 2e a8 b0 c7-6a b8 30 d5 0d f1 23 73 |F..Z.¨°Ç j¸0Õ.ñ#s|
0020 57 0d ad 0d 03 eb 4e e1-4c e0 42 c9 40 20 0a 06 |W.­..ëNá LàBÉ@ ..|
0030 e1 f5 58 00 00 18 c0 0a-c0 09 c0 14 c0 13 00 39 |áõX...À. À.À.À..9|
0040 00 33 00 35 00 2f 00 0a-00 38 00 32 00 13 02 01 |.3.5./.. .8.2....|
0050 00 00 04 00 23 00 00   -                        |....#..|

packet.c:639:Received packet
0000 12 01 04 91 00 00 00 00-16 03 01 04 84 02 00 00 |........ ........|
0010 46 03 01 5a 2f 19 2c 22-0c 16 74 ff 58 07 f4 c1 |F..Z/.," ..tÿX.ôÁ|
0020 7f 1d da cb fe 1f 62 02-94 4e 1a e0 97 cc a4 98 |..ÚËþ.b. .N.à.̤.|
0030 f8 66 f1 20 a3 41 00 00-52 a2 d3 b7 4c 4a d3 7a |øfñ £A.. R¢Ó·LJÓz|
0040 f9 23 a8 2a 33 26 59 e2-7a 2a c9 8b 1f ae d2 f8 |ù#¨*3&Yâ z*É..®Òø|
0050 d3 17 f7 37 c0 14 00 0b-00 03 08 00 03 05 00 03 |Ó.÷7À... ........|
0060 02 30 82 02 fe 30 82 01-e6 a0 03 02 01 02 02 10 |.0..þ0.. æ ......|
0070 34 f1 82 a2 9d 85 cf b4-42 cc 35 7d 37 50 a1 e5 |4ñ.¢..Ï´ BÌ5}7P¡å|
0080 30 0d 06 09 2a 86 48 86-f7 0d 01 01 0b 05 00 30 |0...*.H. ÷......0|
0090 3b 31 39 30 37 06 03 55-04 03 1e 30 00 53 00 53 |;1907..U ...0.S.S|
00a0 00 4c 00 5f 00 53 00 65-00 6c 00 66 00 5f 00 53 |.L._.S.e .l.f._.S|
00b0 00 69 00 67 00 6e 00 65-00 64 00 5f 00 46 00 61 |.i.g.n.e .d._.F.a|
00c0 00 6c 00 6c 00 62 00 61-00 63 00 6b 30 1e 17 0d |.l.l.b.a .c.k0...|
00d0 31 37 31 31 33 30 32 32-32 35 32 33 5a 17 0d 34 |17113022 2523Z..4|
00e0 37 31 31 33 30 32 32 32-35 32 33 5a 30 3b 31 39 |71130222 523Z0;19|
00f0 30 37 06 03 55 04 03 1e-30 00 53 00 53 00 4c 00 |07..U... 0.S.S.L.|
0100 5f 00 53 00 65 00 6c 00-66 00 5f 00 53 00 69 00 |_.S.e.l. f._.S.i.|
0110 67 00 6e 00 65 00 64 00-5f 00 46 00 61 00 6c 00 |g.n.e.d. _.F.a.l.|
0120 6c 00 62 00 61 00 63 00-6b 30 82 01 22 30 0d 06 |l.b.a.c. k0.."0..|
0130 09 2a 86 48 86 f7 0d 01-01 01 05 00 03 82 01 0f |.*.H.÷.. ........|
0140 00 30 82 01 0a 02 82 01-01 00 d0 61 aa e2 86 94 |.0...... ..Ðaªâ..|
0150 f0 88 bc 82 6e e9 61 6f-7f df 76 18 20 5c fa 94 |ð.¼.néao .ßv. \ú.|
0160 9e 96 dc 3f 99 6e 66 19-65 66 b1 62 55 50 4b c0 |..Ü?.nf. ef±bUPKÀ|
0170 46 3e 9c 49 fb 2f 6b 0f-0e c6 b1 39 c7 8e a0 b7 |F>.Iû/k. .Ʊ9Ç. ·|
0180 28 09 83 57 f7 38 dd f9-0a bd 51 4e be 71 03 4b |(..W÷8Ýù .½QN¾q.K|
0190 0f 88 40 ca 7a db 0d 8d-4c bf d3 9a ef 2f 73 87 |..@ÊzÛ.. L¿Ó.ï/s.|
01a0 2f fe 75 97 0c 88 f6 a4-a2 f7 53 ad d9 53 9f bc |/þu...ö¤ ¢÷S­ÙS.¼|
01b0 77 68 31 ec 75 93 01 74-63 1f 3f e4 84 b3 be ca |wh1ìu..t c.?ä.³¾Ê|
01c0 8c 1f 07 d7 54 a4 6d 61-0b d5 0d 8a a3 04 b9 c3 |...×T¤ma .Õ..£.¹Ã|
01d0 d7 07 ed c3 63 74 53 99-8e 3d 34 e4 d6 ae 03 8f |×.íÃctS. .=4äÖ®..|
01e0 72 88 0b 16 de a9 d9 6f-87 ac 20 c2 5d ea 4a e8 |r...Þ©Ùo .¬ Â]êJè|
01f0 d9 db 40 99 b0 76 72 90-29 7f 42 cd d5 1b f2 86 |ÙÛ@.°vr. ).BÍÕ.ò.|
0200 a3 d7 f0 5e 8b f3 6e 3a-c2 26 71 f1 74 6b d9 58 |£×ð^.ón: Â&qñtkÙX|
0210 7c 34 a9 17 38 f0 d3 8a-b9 ae d5 19 78 1b 62 16 ||4©.8ðÓ. ¹®Õ.x.b.|
0220 a4 2d 7a cc 94 c6 e4 cb-01 c6 4f c4 b7 65 48 1c |¤-zÌ.ÆäË .ÆOÄ·eH.|
0230 b2 79 ec 62 9d e6 77 21-0b 56 3d 25 20 94 94 e1 |²yìb.æw! .V=% ..á|
0240 4c f2 1a 22 71 51 8c 7a-98 0d 02 03 01 00 01 30 |Lò."qQ.z .......0|
0250 0d 06 09 2a 86 48 86 f7-0d 01 01 0b 05 00 03 82 |...*.H.÷ ........|
0260 01 01 00 01 26 99 e0 e4-51 c6 f7 ce 36 6e 8b d9 |....&.àä QÆ÷Î6n.Ù|
0270 40 ba bd 03 94 cc 42 bb-44 4f 30 28 b8 0b 6c 59 |@º½..ÌB» DO0(¸.lY|
0280 19 85 ce af 8d 88 56 1b-f7 cf 5a 7b c3 4e 95 d8 |..ί..V. ÷ÏZ{ÃN.Ø|
0290 3c 72 f3 0a da 15 d9 c0-47 d2 27 e9 08 4f 1f 43 |<ró.Ú.ÙÀ GÒ'é.O.C|
02a0 72 7a b0 a2 b5 4e c1 44-35 8c 75 f9 1e 85 79 4c |rz°¢µNÁD 5.uù..yL|
02b0 66 b9 e6 b3 52 0a 53 14-e6 36 08 01 6e e5 e0 6f |f¹æ³R.S. æ6..nåào|
02c0 1e 85 54 d0 ec ec 17 f3-c2 8e 1f a2 ac c7 e2 11 |..TÐìì.ó Â..¢¬Çâ.|
02d0 05 fe e9 2a 98 f7 a2 7c-26 83 36 67 fc 6b 76 6d |.þé*.÷¢| &.6gükvm|
02e0 f3 50 7f a8 cc 5f dd 40-21 b6 20 f0 65 54 21 28 |óP.¨Ì_Ý@ !¶ ðeT!(|
02f0 e3 33 4e 7f 85 91 ac 79-e5 f1 4c 25 bf f6 18 7b |ã3N...¬y åñL%¿ö.{|
0300 9a 2f d9 ff 4c f1 5c f8-7c e7 ce ec 53 7c 17 75 |./ÙÿLñ\ø |çÎìS|.u|
0310 c1 04 6f 93 4d 5e 33 2a-40 75 13 aa fd d8 5e 84 |Á.o.M^3* @u.ªýØ^.|
0320 56 da 18 12 50 3b 5d 26-5b 8b bd 76 51 23 32 f2 |VÚ..P;]& [.½vQ#2ò|
0330 3e 86 b8 00 ab 4f e8 2b-27 4d 9d e9 e9 a6 2d 89 |>.¸.«Oè+ 'M.éé¦-.|
0340 dc 1a c6 4f c1 5d 6f 77-af 1c 4b 9a d3 eb e8 0c |Ü.ÆOÁ]ow ¯.K.Óëè.|
0350 4b ad 9a 07 e8 e5 e7 32-45 e7 cd 9e 48 c0 78 3e |K­..èåç2 EçÍ.HÀx>|
0360 2c 9e 05 0c 00 01 26 03-00 1d 20 7f 80 0c 3e 38 |,.....&. .. ...>8|
0370 7e 2b 28 65 24 ac a2 96-16 34 16 9a 5e ee 26 a1 |~+(e$¬¢. .4..^î&¡|
0380 26 6d 34 a9 38 73 e6 ff-e2 30 13 01 00 2d f2 60 |&m4©8sæÿ â0...-ò`|
0390 90 93 38 59 31 3e e0 b9-58 d5 af 11 58 2e dc a2 |..8Y1>๠Xկ.X.ܢ|
03a0 bb d4 42 97 06 ba f7 d8-3e 2d d3 0a 22 b5 c5 26 |»ÔB..º÷Ø >-Ó."µÅ&|
03b0 76 68 8b 6d 0d 86 b1 9e-3e 95 e7 d3 a4 1b 40 99 |vh.m..±. >.çÓ¤.@.|
03c0 29 0f 97 81 0a c9 c4 a5-0c d8 4c 9a 22 b7 3e 7d |)....ÉÄ¥ .ØL."·>}|
03d0 1a e0 31 c4 7c 2a 59 96-4d 5f cd d0 17 20 87 97 |.à1Ä|*Y. M_ÍÐ. ..|
03e0 86 4c da c2 78 66 7d 26-b7 a3 e0 fc ef a6 81 ca |.LÚÂxf}& ·£àüï¦.Ê|
03f0 4d 02 d6 ee 7b 1d 4e 4b-2a f0 42 71 a1 de 6d 39 |M.Öî{.NK *ðBq¡Þm9|
0400 25 a7 39 61 e0 62 4d 9d-1d 8c f1 a8 a0 f8 48 7e |%§9aàbM. ..ñ¨ øH~|
0410 a0 c4 1c 2f 1a c2 92 18-16 32 0e d6 51 a7 0d f7 | Ä./.Â.. .2.ÖQ§.÷|
0420 75 26 0e e6 1c 21 c6 57-3b 7d 13 70 d1 58 af 53 |u&.æ.!ÆW ;}.pÑX¯S|
0430 be 0d d2 89 1c 05 5d 11-bb 62 e0 a5 a2 f6 06 2d |¾.Ò...]. »bॢö.-|
0440 3b 9d b0 44 99 23 aa c6-37 a4 2a 56 06 08 c1 c7 |;.°D.#ªÆ 7¤*V..ÁÇ|
0450 7e c9 e4 5f 50 c5 d8 47-24 5b 76 8a a8 e9 97 85 |~Éä_PÅØG $[v.¨é..|
0460 fc 77 c8 1c f7 5c a5 f9-6f 5d 48 b0 61 fc d5 c8 |üwÈ.÷\¥ù o]H°aüÕÈ|
0470 34 de cf 04 67 dd 95 92-b0 15 6c e3 cb c6 8a e5 |4ÞÏ.gÝ.. °.lãËÆ.å|
0480 5d ed 52 98 e3 b8 64 c3-ca 5a e7 93 2d 0e 00 00 |]íR.ã¸dà ÊZç.-...|
0490 00                     -                        |.|

tls.c:86:in tds_pull_func_login
tls.c:116:in tds_push_func_login
packet.c:741:Sending packet
0000 12 01 00 0f 00 00 00 00-15 03 01 00 02 02 50    |........ ......P|

tls.c:924:handshake failed
login.c:530:login packet rejected
query.c:3796:tds_disconnect() 
util.c:165:Changed query state from IDLE to DEAD
util.c:322:tdserror(60000000000e0de0, 600000000012dc60, 20002, 0)
odbc.c:2350:msgno 20002 20003
util.c:352:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:375:tdserror: returning TDS_INT_CANCEL(2)
mem.c:644:tds_free_all_results()
error.c:414:odbc_errs_add: "Unable to connect to data source"
error_export.h:43:SQLGetDiagRec(2, 600000000004d630, 1, 9fffffffffffcb50, 9fffffffffffcb44, 9fffffffffffcb60, 513, 9fffffffffffcb40)
error.c:559:SQLGetDiagRec: "[FreeTDS][SQL Server]Adaptive Server connection failed"
error_export.h:43:SQLGetDiagRec(2, 600000000004d630, 2, 9fffffffffffcb50, 9fffffffffffcb44, 9fffffffffffcb60, 513, 9fffffffffffcb40)
error.c:559:SQLGetDiagRec: "[FreeTDS][SQL Server]Unable to connect to data source"
odbc.c:4049:SQLFreeHandle(2, 600000000004d630)
odbc.c:4075:_SQLFreeConnect(600000000004d630)
bcp.c:673:_bcp_free_storage(600000000004d630)
log.c:167:Starting log file for FreeTDS 1.00.15
	on 2017-12-11 16:52:57 with debug flags 0x4fff.
iconv.c:325:tds_iconv_open(600000000012dc60, UTF-8)
iconv.c:185:local name for ISO-8859-1 is ISO8859-1
iconv.c:185:local name for UTF-8 is UTF-8
iconv.c:185:local name for UCS-2LE is UCS-2LE
iconv.c:185:local name for UCS-2BE is UCS-2BE
iconv.c:343:setting up conversions for client charset "UTF-8"
iconv.c:345:preparing iconv for "UTF-8" <-> "UCS-2LE" conversion
iconv.c:384:tds_iconv_open: done
net.c:216:Connecting to 10.0.50.90 port 1433 (TDS version 7.3)
net.c:242:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:343:tds_open_socket() succeeded
packet.c:741:Sending packet
0000 12 01 00 3a 00 00 00 00-00 00 1a 00 06 01 00 20 |...:.... ....... |
0010 00 01 02 00 21 00 0c 03-00 2d 00 04 04 00 31 00 |....!... .-....1.|
0020 01 ff 09 00 00 00 00 00-00 4d 53 53 51 4c 53 65 |.ÿ...... .MSSQLSe|
0030 72 76 65 72 00 f7 66 00-00 00                   |rver.÷f. ..|

packet.c:639:Received packet
0000 04 01 00 2b 00 00 01 00-00 00 1a 00 06 01 00 20 |...+.... ....... |
0010 00 01 02 00 21 00 01 03-00 22 00 00 04 00 22 00 |....!... ."....".|
0020 01 ff 0e 00 0b be 00 00-00 00 00                |.ÿ...¾.. ...|

login.c:1185:detected flag 0
tls.c:116:in tds_push_func_login
tls.c:86:in tds_pull_func_login
packet.c:741:Sending packet
0000 12 01 00 57 00 00 00 00-16 03 01 00 4a 01 00 00 |...W.... ....J...|
0010 46 03 01 5a 2e a9 d9 65-c3 fc 1f 68 e6 17 9b 03 |F..Z.©Ùe Ãü.hæ...|
0020 2f 6e 0e 47 22 35 fc 4a-30 69 e7 0e 29 28 c6 03 |/n.G"5üJ 0iç.)(Æ.|
0030 d1 55 55 00 00 18 c0 0a-c0 09 c0 14 c0 13 00 39 |ÑUU...À. À.À.À..9|
0040 00 33 00 35 00 2f 00 0a-00 38 00 32 00 13 02 01 |.3.5./.. .8.2....|
0050 00 00 04 00 23 00 00   -                        |....#..|

packet.c:639:Received packet
0000 12 01 03 1a 00 00 00 00-16 03 01 00 30 02 00 00 |........ ....0...|
0010 2c 03 01 5a 2e c5 c2 7e-04 5e 0d db 71 29 b6 94 |,..Z.ÅÂ~ .^.Ûq)¶.|
0020 e7 38 e5 c5 dd 57 1b 87-53 c0 e7 1b 22 09 0f ff |ç8åÅÝW.. SÀç."..ÿ|
0030 32 f6 73 00 00 35 00 00-04 00 23 00 00 16 03 01 |2ös..5.. ..#.....|
0040 02 cf 0b 00 02 cb 00 02-c8 00 02 c5 30 82 02 c1 |.Ï...Ë.. È..Å0..Á|
0050 30 82 01 a9 02 08 6a b1-11 ed 8b 3e b3 c4 30 0d |0..©..j± .í.>³Ä0.|
0060 06 09 2a 86 48 86 f7 0d-01 01 0b 05 00 30 23 31 |..*.H.÷. .....0#1|
0070 21 30 1f 06 03 55 04 03-14 18 53 53 4c 5f 53 65 |!0...U.. ..SSL_Se|
0080 6c 66 5f 53 69 67 6e 65-64 5f 46 61 6c 6c 62 61 |lf_Signe d_Fallba|
0090 63 6b 30 1e 17 0d 31 37-31 31 31 37 31 35 33 34 |ck0...17 11171534|
00a0 33 34 5a 17 0d 34 37 31-31 31 37 31 35 33 34 33 |34Z..471 11715343|
00b0 34 5a 30 23 31 21 30 1f-06 03 55 04 03 14 18 53 |4Z0#1!0. ..U....S|
00c0 53 4c 5f 53 65 6c 66 5f-53 69 67 6e 65 64 5f 46 |SL_Self_ Signed_F|
00d0 61 6c 6c 62 61 63 6b 30-82 01 22 30 0d 06 09 2a |allback0 .."0...*|
00e0 86 48 86 f7 0d 01 01 01-05 00 03 82 01 0f 00 30 |.H.÷.... .......0|
00f0 82 01 0a 02 82 01 01 00-da 28 ca 1f 90 55 e2 34 |........ Ú(Ê..Uâ4|
0100 00 fb 6a 46 f9 4d 56 89-e4 f6 25 82 cd df 66 b3 |.ûjFùMV. äö%.Íßf³|
0110 9a 13 28 fd 2a 31 d5 79-0a 6e 42 0c 10 58 41 b0 |..(ý*1Õy .nB..XA°|
0120 39 41 02 4d c7 67 72 6f-ce c5 cd ef df 34 0b e8 |9A.MÇgro ÎÅÍïß4.è|
0130 19 57 6c 4e 9e ee 1e c9-70 80 5c 27 92 72 2b c0 |.WlN.î.É p.\'.r+À|
0140 fb 1e 7b 15 f0 f8 02 e1-3d 0f 43 a0 d8 d4 f8 25 |û.{.ðø.á =.C ØÔø%|
0150 68 76 b0 c0 8e 7a 74 76-56 ab cf 6c aa 48 82 c2 |hv°À.ztv V«ÏlªH.Â|
0160 c3 9b bb c0 a8 13 ec 96-26 6b 71 42 e3 31 c7 f9 |Ã.»À¨.ì. &kqBã1Çù|
0170 03 33 10 f7 60 e0 c4 f8-3d 87 2f d1 0f 2b 20 00 |.3.÷`àÄø =./Ñ.+ .|
0180 b1 ad 37 37 35 4b 79 d1-ab 02 43 99 bc a2 a1 8a |±­775KyÑ «.C.¼¢¡.|
0190 58 b1 93 82 ad c4 e6 1b-00 ca b4 9e 20 01 22 cb |X±..­Äæ. .Ê´. ."Ë|
01a0 76 8a cd da 80 ff dd 53-09 da 53 33 1e ac 93 ca |v.ÍÚ.ÿÝS .ÚS3.¬.Ê|
01b0 05 75 86 2e 2a 62 e8 aa-32 c2 26 b4 d3 36 a5 d8 |.u..*bèª 2Â&´Ó6¥Ø|
01c0 c7 32 74 3e d5 11 c7 fc-39 65 d6 14 f8 5f 2a 12 |Ç2t>Õ.Çü 9eÖ.ø_*.|
01d0 c0 3b 66 16 76 2d 80 f5-6f 78 cd 9c c6 28 27 1f |À;f.v-.õ oxÍ.Æ('.|
01e0 58 b0 b9 2f 28 eb d2 1d-e9 97 87 e6 9a 6f 43 ee |X°¹/(ëÒ. é..æ.oCî|
01f0 b3 46 8b 63 21 23 a0 af-02 03 01 00 01 30 0d 06 |³F.c!# ¯ .....0..|
0200 09 2a 86 48 86 f7 0d 01-01 0b 05 00 03 82 01 01 |.*.H.÷.. ........|
0210 00 09 50 94 d0 06 44 30-dc bd 5b 79 9a ea b6 28 |..P.Ð.D0 ܽ[y.ê¶(|
0220 97 99 4c a1 49 db ad f9-84 28 99 e2 ef 19 4e 6e |..L¡IÛ­ù .(.âï.Nn|
0230 d9 5f 14 7d 52 7d 19 3d-0e de 89 38 d6 b2 a6 bf |Ù_.}R}.= .Þ.8Ö²¦¿|
0240 2a 87 44 60 2b c5 c4 40-55 50 ec 07 94 b5 0c 61 |*.D`+ÅÄ@ UPì..µ.a|
0250 1a cd a0 dd e7 8d 10 ed-63 13 8f 36 ff 9a c2 76 |.Í Ýç..í c..6ÿ.Âv|
0260 c4 85 7c 53 56 2d 43 ca-2c f7 f1 7b 09 78 64 82 |Ä.|SV-CÊ ,÷ñ{.xd.|
0270 e5 05 31 d2 bd 5b a0 ae-41 db 91 94 92 22 df a6 |å.1Ò½[ ® AÛ..."ߦ|
0280 bb 73 cd bb 3f a5 20 4f-4f 23 24 28 dd d9 87 4e |»sÍ»?¥ O O#$(ÝÙ.N|
0290 8d d2 38 de 31 44 da 87-09 8a 90 3f 12 34 9a c4 |.Ò8Þ1DÚ. ...?.4.Ä|
02a0 87 4e 46 4c e5 b0 6e df-6f a6 2e 5f d4 3c 09 55 |.NFLå°nß o¦._Ô<.U|
02b0 18 05 cb 37 65 c5 e5 9a-fe e2 41 eb 49 14 03 b1 |..Ë7eÅå. þâAëI..±|
02c0 b9 0b 29 9c 76 8c 49 fc-85 28 d7 74 59 e7 a1 53 |¹.).v.Iü .(×tYç¡S|
02d0 ec b7 47 66 20 67 dc 3b-35 bd 05 28 55 66 ae 66 |ì·Gf gÜ; 5½.(Uf®f|
02e0 b8 35 45 ea 69 b9 92 12-47 3f 8b 29 b7 73 57 9e |¸5Eêi¹.. G?.)·sW.|
02f0 24 ee 46 63 f5 53 8c cb-6d 14 92 11 aa b8 c9 70 |$îFcõS.Ë m...ª¸Ép|
0300 95 84 33 9d fc 27 c5 fb-b0 69 6f 67 70 2c a0 74 |..3.ü'Åû °iogp, t|
0310 19 16 03 01 00 04 0e 00-00 00                   |........ ..|

tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:116:in tds_push_func_login
packet.c:741:Sending packet
0000 12 01 01 4e 00 00 00 00-16 03 01 01 06 10 00 01 |...N.... ........|
0010 02 01 00 57 6f 03 35 53-f4 d9 2d c1 e4 b7 f3 53 |...Wo.5S ôÙ-Áä·óS|
0020 1c 93 bd 56 bc 69 1a 6d-32 1b 9b 83 7f 01 af c9 |..½V¼i.m 2.....¯É|
0030 51 e2 9f 69 73 87 f6 18-0e 51 b1 60 46 5d 6e ab |Qâ.is.ö. .Q±`F]n«|
0040 ea 72 2b 60 f7 8e 4a 2a-0d cb 84 49 d9 80 40 bc |êr+`÷.J* .Ë.IÙ.@¼|
0050 31 cc e4 a1 9e 21 37 91-8c 33 b5 13 b7 74 40 0d |1Ìä¡.!7. .3µ.·t@.|
0060 83 73 2a d9 ad 86 6e 59-da 69 08 6b 61 76 b9 4c |.s*Ù­.nY Úi.kav¹L|
0070 2e 33 25 5a 91 fc dd e5-e9 81 51 33 2b 93 00 1b |.3%Z.üÝå é.Q3+...|
0080 af d6 72 c0 75 4a 35 1c-9f d8 d9 b5 50 0a c6 42 |¯ÖrÀuJ5. .ØÙµP.ÆB|
0090 e3 cb 1f 6c 25 8b 7d 99-6f b1 6d ca 7e ac 0e 03 |ãË.l%.}. o±mÊ~¬..|
00a0 0a 7a 7d 17 a8 c0 98 31-c7 5f d0 5c de 7a ff e1 |.z}.¨À.1 Ç_Ð\Þzÿá|
00b0 b5 3f fb 40 e4 36 61 71-97 01 58 47 fa dd a0 31 |µ?û@ä6aq ..XGúÝ 1|
00c0 e4 b9 81 25 1a 17 1b e8-b7 12 6a c2 13 b4 6a 91 |ä¹.%...è ·.jÂ.´j.|
00d0 1d 9d 91 c6 d0 4f 34 67-12 b3 ae 55 b4 18 71 d6 |...ÆÐO4g .³®U´.qÖ|
00e0 18 b6 16 34 33 bd 28 c3-90 f3 9a df e8 40 b5 e5 |.¶.43½(à .ó.ßè@µå|
00f0 e3 66 45 ea 81 33 0e f3-e8 5d 2d 73 9e 4b a8 59 |ãfEê.3.ó è]-s.K¨Y|
0100 5a e6 11 f0 de b2 42 67-d5 47 bc 01 d2 e7 94 e4 |Zæ.ðÞ²Bg ÕG¼.Òç.ä|
0110 91 f9 a5 14 03 01 00 01-01 16 03 01 00 30 c5 c5 |.ù¥..... .....0ÅÅ|
0120 92 b6 ea 4b b1 fe 9a 3a-e1 0a 51 b7 86 a8 87 00 |.¶êK±þ.: á.Q·.¨..|
0130 22 f3 5f 22 eb 13 09 f1-9d 97 85 bb 00 0d 03 03 |"ó_"ë..ñ ...»....|
0140 29 9f ee d8 f0 8e a8 4f-91 5e 89 61 7e fd       |).îØð.¨O .^.a~ý|

tls.c:86:in tds_pull_func_login
packet.c:639:Received packet
0000 12 01 00 f2 00 00 00 00-16 03 01 00 aa 04 00 00 |...ò.... ....ª...|
0010 a6 00 00 01 2c 00 a0 76-b7 89 85 73 2b a8 73 3e |¦...,. v ·..s+¨s>|
0020 68 23 24 a4 7b 4c dc 4f-96 3c 08 c7 05 c1 99 17 |h#$¤{LÜO .<.Ç.Á..|
0030 3c 4b de d2 58 8c 2b 09-ee 9f 5e 76 be e0 16 db |<KÞÒX.+. î.^v¾à.Û|
0040 73 bb b3 4b e3 43 77 00-38 93 cd d4 14 76 bd 3a |s»³KãCw. 8.ÍÔ.v½:|
0050 3d bb 1d 95 95 13 88 94-a8 d2 52 4b 26 3c df e2 |=»...... ¨ÒRK&<ßâ|
0060 0d bd f2 06 1a 2a 5a e6-53 7a ae 39 86 e6 8c 43 |.½ò..*Zæ Sz®9.æ.C|
0070 79 5b d5 62 97 f3 21 e6-ac a1 af cc f2 c9 72 2d |y[Õb.ó!æ ¬¡¯ÌòÉr-|
0080 3f 71 ee b6 98 88 de 4e-1a 87 d9 8e e2 34 64 45 |?qî¶..ÞN ..Ù.â4dE|
0090 7a ff 3c a9 91 72 84 16-eb 5e 0b a4 e6 aa 9a 14 |zÿ<©.r.. ë^.¤æª..|
00a0 1c d1 7c 82 fc 8b ee 56-3d 60 e4 e4 30 66 bb 27 |.Ñ|.ü.îV =`ää0f»'|
00b0 0b ce a7 f2 07 6a 05 14-03 01 00 01 01 16 03 01 |.뤘.j.. ........|
00c0 00 30 ef 7c 93 50 74 18-fd 68 4e a0 91 91 9a 2a |.0ï|.Pt. ýhN ...*|
00d0 cc f6 62 5d 97 6c 88 ac-e8 e7 51 d6 9f 1e fe b7 |Ìöb].l.¬ èçQÖ..þ·|
00e0 e0 81 0b 2e d0 cb ea dc-3f 52 8f ad 50 4e e0 90 |à...ÐËêÜ ?R.­PNà.|
00f0 6c 48                  -                        |lH|

tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:86:in tds_pull_func_login
tls.c:901:handshake succeeded!!
login.c:923:quietly sending TDS 7+ login packet
token.c:298:tds_process_login_tokens()
packet.c:639:Received packet
0000 04 01 01 8d 00 34 01 00-e3 27 00 01 0c 71 00 61 |.....4.. ã'...q.a|
0010 00 6d 00 61 00 64 00 69-00 73 00 6f 00 6e 00 36 |.m.a.d.i .s.o.n.6|
0020 00 34 00 62 00 06 6d 00-61 00 73 00 74 00 65 00 |.4.b..m. a.s.t.e.|
0030 72 00 ab 6e 00 45 16 00-00 02 00 2b 00 43 00 68 |r.«n.E.. ...+.C.h|
0040 00 61 00 6e 00 67 00 65-00 64 00 20 00 64 00 61 |.a.n.g.e .d. .d.a|
0050 00 74 00 61 00 62 00 61-00 73 00 65 00 20 00 63 |.t.a.b.a .s.e. .c|
0060 00 6f 00 6e 00 74 00 65-00 78 00 74 00 20 00 74 |.o.n.t.e .x.t. .t|
0070 00 6f 00 20 00 27 00 71-00 61 00 6d 00 61 00 64 |.o. .'.q .a.m.a.d|
0080 00 69 00 73 00 6f 00 6e-00 36 00 34 00 62 00 27 |.i.s.o.n .6.4.b.'|
0090 00 2e 00 05 64 00 69 00-72 00 61 00 63 00 00 01 |....d.i. r.a.c...|
00a0 00 00 00 e3 08 00 07 05-09 04 d0 00 34 00 e3 17 |...ã.... ..Ð.4.ã.|
00b0 00 02 0a 75 00 73 00 5f-00 65 00 6e 00 67 00 6c |...u.s._ .e.n.g.l|
00c0 00 69 00 73 00 68 00 00-ab 66 00 47 16 00 00 01 |.i.s.h.. «f.G....|
00d0 00 27 00 43 00 68 00 61-00 6e 00 67 00 65 00 64 |.'.C.h.a .n.g.e.d|
00e0 00 20 00 6c 00 61 00 6e-00 67 00 75 00 61 00 67 |. .l.a.n .g.u.a.g|
00f0 00 65 00 20 00 73 00 65-00 74 00 74 00 69 00 6e |.e. .s.e .t.t.i.n|
0100 00 67 00 20 00 74 00 6f-00 20 00 75 00 73 00 5f |.g. .t.o . .u.s._|
0110 00 65 00 6e 00 67 00 6c-00 69 00 73 00 68 00 2e |.e.n.g.l .i.s.h..|
0120 00 05 64 00 69 00 72 00-61 00 63 00 00 01 00 00 |..d.i.r. a.c.....|
0130 00 ad 36 00 01 73 0b 00-03 16 4d 00 69 00 63 00 |.­6..s.. ..M.i.c.|
0140 72 00 6f 00 73 00 6f 00-66 00 74 00 20 00 53 00 |r.o.s.o. f.t. .S.|
0150 51 00 4c 00 20 00 53 00-65 00 72 00 76 00 65 00 |Q.L. .S. e.r.v.e.|
0160 72 00 00 00 00 00 0e 00-0b be e3 13 00 04 04 34 |r....... .¾ã....4|
0170 00 30 00 39 00 36 00 04-34 00 30 00 39 00 36 00 |.0.9.6.. 4.0.9.6.|
0180 fd 00 00 00 00 00 00 00-00 00 00 00 00          |ý....... .....|

token.c:306:looking for login token, got  e3(ENVCHANGE)
token.c:125:tds_process_default_tokens() marker is e3(ENVCHANGE)
token.c:306:looking for login token, got  ab(INFO)
token.c:125:tds_process_default_tokens() marker is ab(INFO)
token.c:2328:tds_process_info() reading message 5701 from server
token.c:2400:tds_process_info() calling client msg handler
odbc.c:2350:msgno 5701 20003
token.c:2417:tds_process_info() returning TDS_SUCCESS
token.c:306:looking for login token, got  e3(ENVCHANGE)
token.c:125:tds_process_default_tokens() marker is e3(ENVCHANGE)
token.c:2163:tds_process_env_chg(): 5 bytes of collation data received
token.c:2164:tds->conn->collation was
0000 00 00 00 00 00         -                        |.....|

iconv.c:780:setting server single-byte charset to "CP1252"
token.c:2174:tds->conn->collation now
0000 09 04 d0 00 34         -                        |..Ð.4|

token.c:306:looking for login token, got  e3(ENVCHANGE)
token.c:125:tds_process_default_tokens() marker is e3(ENVCHANGE)
token.c:306:looking for login token, got  ab(INFO)
token.c:125:tds_process_default_tokens() marker is ab(INFO)
token.c:2328:tds_process_info() reading message 5703 from server
token.c:2400:tds_process_info() calling client msg handler
odbc.c:2350:msgno 5703 20003
token.c:2417:tds_process_info() returning TDS_SUCCESS
token.c:306:looking for login token, got  ad(LOGINACK)
token.c:344:server reports TDS version 73.b.0.3
token.c:346:Product name for 0x730b0003 is 2008
token.c:378:Product version 8E000BBE
token.c:306:looking for login token, got  e3(ENVCHANGE)
token.c:125:tds_process_default_tokens() marker is e3(ENVCHANGE)
token.c:2220:changing block size from 4096 to 4096
token.c:306:looking for login token, got  fd(DONE)
token.c:125:tds_process_default_tokens() marker is fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
token.c:415:tds_process_login_tokens() returning TDS_SUCCESS
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 9fffffffffffcce8)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 9fffffffffffcce8)
odbc_export.h:815:SQLExecDirect(6000000000142680, SELECT SERVERPROPERTY('ProductVersion'), -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 6c 00 00 01 00-16 00 00 00 12 00 00 00 |...l.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 53 00 |........ ......S.|
0020 45 00 4c 00 45 00 43 00-54 00 20 00 53 00 45 00 |E.L.E.C. T. .S.E.|
0030 52 00 56 00 45 00 52 00-50 00 52 00 4f 00 50 00 |R.V.E.R. P.R.O.P.|
0040 45 00 52 00 54 00 59 00-28 00 27 00 50 00 72 00 |E.R.T.Y. (.'.P.r.|
0050 6f 00 64 00 75 00 63 00-74 00 56 00 65 00 72 00 |o.d.u.c. t.V.e.r.|
0060 73 00 69 00 6f 00 6e 00-27 00 29 00             |s.i.o.n. '.).|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffcbd0, 9fffffffffffcbd4, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 4a 00 34 01 00-81 01 00 00 00 00 00 21 |...J.4.. .......!|
0010 00 62 49 1f 00 00 00 d1-21 00 00 00 e7 07 09 04 |.bI....Ñ !...ç...|
0020 d0 00 34 00 01 31 00 34-00 2e 00 30 00 2e 00 33 |Ð.4..1.4 ...0...3|
0030 00 30 00 30 00 36 00 2e-00 31 00 36 00 fd 10 00 |.0.0.6.. .1.6.ý..|
0040 c1 00 01 00 00 00 00 00-00 00                   |Á....... ..|

token.c:540:processing result tokens.  marker is  81(TDS7_RESULT)
token.c:1538:processing TDS7 result metadata.
mem.c:644:tds_free_all_results()
token.c:1563:set current_results (1 column) to tds->res_info
token.c:1570:setting up 1 columns
token.c:1507:tds7_get_data_info: 
	colname = 
	type = 98 (variant)
	server's type = 98 (variant)
	column_varint_size = 4
	column_size = 8009 (8009 on server)
token.c:1579: name                 size/wsize      type/wtype      utype  
token.c:1580: -------------------- --------------- --------------- -------
token.c:1585:                         8009/8009         98/98            0
util.c:165:Changed query state from READING to PENDING
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4049, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3674:odbc_process_tokens: returning result_type 4049
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4049
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffcbd0, 9fffffffffffcbd4, 0x6914)
util.c:165:Changed query state from PENDING to READING
token.c:540:processing result tokens.  marker is  d1(ROW)
token.c:644:tds_process_tokens::SET_RETURN stopping on current token
util.c:165:Changed query state from READING to PENDING
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4040, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3674:odbc_process_tokens: returning result_type 4040
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4040
odbc.c:1809:SQLBindCol(6000000000142680, 1, 1, 9fffffffffffcd00, 100, 9fffffffffffccf0)
odbc.c:4004:SQLFetch(6000000000142680)
odbc.c:3739:_SQLFetch(6000000000142680, 1, 0)
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffcbb0, 9fffffffffffcbb4, 0x6508)
util.c:165:Changed query state from PENDING to READING
token.c:540:processing result tokens.  marker is  d1(ROW)
token.c:1916:tds_process_row(): reading column 0 
util.c:165:Changed query state from READING to PENDING
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4040, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3674:odbc_process_tokens: returning result_type 4040
convert_tds2sql.c:259:odbc_tds2sql: src is 98 dest = 1
odbc.c:4254:SQLCloseCursor(6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 0, 0)
query.c:2202:tds_send_cancel: not in_cancel and not idle
packet.c:771:Sending packet
0000 06 01 00 08 00 00 01 00-                        |........|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffcc80, 0000000000000000, 0x0)
util.c:165:Changed query state from PENDING to READING
token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 1
token.c:2082:                rows_affected = 1
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 20 00 fd 00 00 00 00 |.....4.. ý .ý....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 1
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, DROP TABLE dbit1, -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 3e 00 00 01 00-16 00 00 00 12 00 00 00 |...>.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 44 00 |........ ......D.|
0020 52 00 4f 00 50 00 20 00-54 00 41 00 42 00 4c 00 |R.O.P. . T.A.B.L.|
0030 45 00 20 00 64 00 62 00-69 00 74 00 31 00       |E. .d.b. i.t.1.|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 de 00 34 01 00-aa c6 00 75 0e 00 00 05 |...Þ.4.. ªÆ.u....|
0010 0b 57 00 43 00 61 00 6e-00 6e 00 6f 00 74 00 20 |.W.C.a.n .n.o.t. |
0020 00 64 00 72 00 6f 00 70-00 20 00 74 00 68 00 65 |.d.r.o.p . .t.h.e|
0030 00 20 00 74 00 61 00 62-00 6c 00 65 00 20 00 27 |. .t.a.b .l.e. .'|
0040 00 64 00 62 00 69 00 74-00 31 00 27 00 2c 00 20 |.d.b.i.t .1.'.,. |
0050 00 62 00 65 00 63 00 61-00 75 00 73 00 65 00 20 |.b.e.c.a .u.s.e. |
0060 00 69 00 74 00 20 00 64-00 6f 00 65 00 73 00 20 |.i.t. .d .o.e.s. |
0070 00 6e 00 6f 00 74 00 20-00 65 00 78 00 69 00 73 |.n.o.t.  .e.x.i.s|
0080 00 74 00 20 00 6f 00 72-00 20 00 79 00 6f 00 75 |.t. .o.r . .y.o.u|
0090 00 20 00 64 00 6f 00 20-00 6e 00 6f 00 74 00 20 |. .d.o.  .n.o.t. |
00a0 00 68 00 61 00 76 00 65-00 20 00 70 00 65 00 72 |.h.a.v.e . .p.e.r|
00b0 00 6d 00 69 00 73 00 73-00 69 00 6f 00 6e 00 2e |.m.i.s.s .i.o.n..|
00c0 00 05 64 00 69 00 72 00-61 00 63 00 00 01 00 00 |..d.i.r. a.c.....|
00d0 00 fd 02 00 c7 00 00 00-00 00 00 00 00 00       |.ý..Ç... ......|

token.c:540:processing result tokens.  marker is  aa(ERROR)
token.c:125:tds_process_default_tokens() marker is aa(ERROR)
token.c:2328:tds_process_info() reading message 3701 from server
token.c:2400:tds_process_info() calling client msg handler
odbc.c:2350:msgno 3701 20003
token.c:2417:tds_process_info() returning TDS_SUCCESS
token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 1
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=2
odbc.c:3644:odbc_process_tokens: row_count=-1
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4052
error_export.h:43:SQLGetDiagRec(3, 6000000000142680, 1, 9fffffffffffddf0, 9fffffffffffdde4, 9fffffffffffde00, 513, 9fffffffffffdde0)
error.c:559:SQLGetDiagRec: "[FreeTDS][SQL Server]Cannot drop the table 'dbit1', because it does not exist or you do not have permission."
odbc.c:876:SQLMoreResults(6000000000142680)
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdfa0, 9fffffffffffdfa4, 0x15914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=10, TDS_DONE_ERROR=0
odbc.c:902:SQLMoreResults: result_type=4046, row_count=-1, lastrc=0
mem.c:644:tds_free_all_results()
odbc.c:913:SQLMoreResults: row_status=0
odbc.c:915:SQLMoreResults: row_count=-1, lastrc=0
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, DROP TABLE dbit2, -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 3e 00 00 01 00-16 00 00 00 12 00 00 00 |...>.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 44 00 |........ ......D.|
0020 52 00 4f 00 50 00 20 00-54 00 41 00 42 00 4c 00 |R.O.P. . T.A.B.L.|
0030 45 00 20 00 64 00 62 00-69 00 74 00 32 00       |E. .d.b. i.t.2.|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c7 00 00 00 00 |.....4.. ý..Ç....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, DROP TABLE dbit3, -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 3e 00 00 01 00-16 00 00 00 12 00 00 00 |...>.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 44 00 |........ ......D.|
0020 52 00 4f 00 50 00 20 00-54 00 41 00 42 00 4c 00 |R.O.P. . T.A.B.L.|
0030 45 00 20 00 64 00 62 00-69 00 74 00 33 00       |E. .d.b. i.t.3.|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c7 00 00 00 00 |.....4.. ý..Ç....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, DROP TABLE serialreg, -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 46 00 00 01 00-16 00 00 00 12 00 00 00 |...F.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 44 00 |........ ......D.|
0020 52 00 4f 00 50 00 20 00-54 00 41 00 42 00 4c 00 |R.O.P. . T.A.B.L.|
0030 45 00 20 00 73 00 65 00-72 00 69 00 61 00 6c 00 |E. .s.e. r.i.a.l.|
0040 72 00 65 00 67 00      -                        |r.e.g.|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 e6 00 34 01 00-aa ce 00 75 0e 00 00 05 |...æ.4.. ªÎ.u....|
0010 0b 5b 00 43 00 61 00 6e-00 6e 00 6f 00 74 00 20 |.[.C.a.n .n.o.t. |
0020 00 64 00 72 00 6f 00 70-00 20 00 74 00 68 00 65 |.d.r.o.p . .t.h.e|
0030 00 20 00 74 00 61 00 62-00 6c 00 65 00 20 00 27 |. .t.a.b .l.e. .'|
0040 00 73 00 65 00 72 00 69-00 61 00 6c 00 72 00 65 |.s.e.r.i .a.l.r.e|
0050 00 67 00 27 00 2c 00 20-00 62 00 65 00 63 00 61 |.g.'.,.  .b.e.c.a|
0060 00 75 00 73 00 65 00 20-00 69 00 74 00 20 00 64 |.u.s.e.  .i.t. .d|
0070 00 6f 00 65 00 73 00 20-00 6e 00 6f 00 74 00 20 |.o.e.s.  .n.o.t. |
0080 00 65 00 78 00 69 00 73-00 74 00 20 00 6f 00 72 |.e.x.i.s .t. .o.r|
0090 00 20 00 79 00 6f 00 75-00 20 00 64 00 6f 00 20 |. .y.o.u . .d.o. |
00a0 00 6e 00 6f 00 74 00 20-00 68 00 61 00 76 00 65 |.n.o.t.  .h.a.v.e|
00b0 00 20 00 70 00 65 00 72-00 6d 00 69 00 73 00 73 |. .p.e.r .m.i.s.s|
00c0 00 69 00 6f 00 6e 00 2e-00 05 64 00 69 00 72 00 |.i.o.n.. ..d.i.r.|
00d0 61 00 63 00 00 01 00 00-00 fd 02 00 c7 00 00 00 |a.c..... .ý..Ç...|
00e0 00 00 00 00 00 00      -                        |......|

token.c:540:processing result tokens.  marker is  aa(ERROR)
token.c:125:tds_process_default_tokens() marker is aa(ERROR)
token.c:2328:tds_process_info() reading message 3701 from server
token.c:2400:tds_process_info() calling client msg handler
odbc.c:2350:msgno 3701 20003
token.c:2417:tds_process_info() returning TDS_SUCCESS
token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 1
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=2
odbc.c:3644:odbc_process_tokens: row_count=-1
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4052
error_export.h:43:SQLGetDiagRec(3, 6000000000142680, 1, 9fffffffffffddf0, 9fffffffffffdde4, 9fffffffffffde00, 513, 9fffffffffffdde0)
error.c:559:SQLGetDiagRec: "[FreeTDS][SQL Server]Cannot drop the table 'serialreg', because it does not exist or you do not have permission."
odbc.c:876:SQLMoreResults(6000000000142680)
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdfa0, 9fffffffffffdfa4, 0x15914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=10, TDS_DONE_ERROR=0
odbc.c:902:SQLMoreResults: result_type=4046, row_count=-1, lastrc=0
mem.c:644:tds_free_all_results()
odbc.c:913:SQLMoreResults: row_status=0
odbc.c:915:SQLMoreResults: row_count=-1, lastrc=0
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, DROP TABLE test_dummy, -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 48 00 00 01 00-16 00 00 00 12 00 00 00 |...H.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 44 00 |........ ......D.|
0020 52 00 4f 00 50 00 20 00-54 00 41 00 42 00 4c 00 |R.O.P. . T.A.B.L.|
0030 45 00 20 00 74 00 65 00-73 00 74 00 5f 00 64 00 |E. .t.e. s.t._.d.|
0040 75 00 6d 00 6d 00 79 00-                        |u.m.m.y.|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 e8 00 34 01 00-aa d0 00 75 0e 00 00 05 |...è.4.. ªÐ.u....|
0010 0b 5c 00 43 00 61 00 6e-00 6e 00 6f 00 74 00 20 |.\.C.a.n .n.o.t. |
0020 00 64 00 72 00 6f 00 70-00 20 00 74 00 68 00 65 |.d.r.o.p . .t.h.e|
0030 00 20 00 74 00 61 00 62-00 6c 00 65 00 20 00 27 |. .t.a.b .l.e. .'|
0040 00 74 00 65 00 73 00 74-00 5f 00 64 00 75 00 6d |.t.e.s.t ._.d.u.m|
0050 00 6d 00 79 00 27 00 2c-00 20 00 62 00 65 00 63 |.m.y.'., . .b.e.c|
0060 00 61 00 75 00 73 00 65-00 20 00 69 00 74 00 20 |.a.u.s.e . .i.t. |
0070 00 64 00 6f 00 65 00 73-00 20 00 6e 00 6f 00 74 |.d.o.e.s . .n.o.t|
0080 00 20 00 65 00 78 00 69-00 73 00 74 00 20 00 6f |. .e.x.i .s.t. .o|
0090 00 72 00 20 00 79 00 6f-00 75 00 20 00 64 00 6f |.r. .y.o .u. .d.o|
00a0 00 20 00 6e 00 6f 00 74-00 20 00 68 00 61 00 76 |. .n.o.t . .h.a.v|
00b0 00 65 00 20 00 70 00 65-00 72 00 6d 00 69 00 73 |.e. .p.e .r.m.i.s|
00c0 00 73 00 69 00 6f 00 6e-00 2e 00 05 64 00 69 00 |.s.i.o.n ....d.i.|
00d0 72 00 61 00 63 00 00 01-00 00 00 fd 02 00 c7 00 |r.a.c... ...ý..Ç.|
00e0 00 00 00 00 00 00 00 00-                        |........|

token.c:540:processing result tokens.  marker is  aa(ERROR)
token.c:125:tds_process_default_tokens() marker is aa(ERROR)
token.c:2328:tds_process_info() reading message 3701 from server
token.c:2400:tds_process_info() calling client msg handler
odbc.c:2350:msgno 3701 20003
token.c:2417:tds_process_info() returning TDS_SUCCESS
token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 1
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=2
odbc.c:3644:odbc_process_tokens: row_count=-1
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4052
error_export.h:43:SQLGetDiagRec(3, 6000000000142680, 1, 9fffffffffffddf0, 9fffffffffffdde4, 9fffffffffffde00, 513, 9fffffffffffdde0)
error.c:559:SQLGetDiagRec: "[FreeTDS][SQL Server]Cannot drop the table 'test_dummy', because it does not exist or you do not have permission."
odbc.c:876:SQLMoreResults(6000000000142680)
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdfa0, 9fffffffffffdfa4, 0x15914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=10, TDS_DONE_ERROR=0
odbc.c:902:SQLMoreResults: result_type=4046, row_count=-1, lastrc=0
mem.c:644:tds_free_all_results()
odbc.c:913:SQLMoreResults: row_status=0
odbc.c:915:SQLMoreResults: row_count=-1, lastrc=0
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, CREATE TABLE test_dummy (col varchar(50)), -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 70 00 00 01 00-16 00 00 00 12 00 00 00 |...p.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 43 00 |........ ......C.|
0020 52 00 45 00 41 00 54 00-45 00 20 00 54 00 41 00 |R.E.A.T. E. .T.A.|
0030 42 00 4c 00 45 00 20 00-74 00 65 00 73 00 74 00 |B.L.E. . t.e.s.t.|
0040 5f 00 64 00 75 00 6d 00-6d 00 79 00 20 00 28 00 |_.d.u.m. m.y. .(.|
0050 63 00 6f 00 6c 00 20 00-76 00 61 00 72 00 63 00 |c.o.l. . v.a.r.c.|
0060 68 00 61 00 72 00 28 00-35 00 30 00 29 00 29 00 |h.a.r.(. 5.0.).).|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c6 00 00 00 00 |.....4.. ý..Æ....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, DROP TABLE test_dummy, -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 48 00 00 01 00-16 00 00 00 12 00 00 00 |...H.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 44 00 |........ ......D.|
0020 52 00 4f 00 50 00 20 00-54 00 41 00 42 00 4c 00 |R.O.P. . T.A.B.L.|
0030 45 00 20 00 74 00 65 00-73 00 74 00 5f 00 64 00 |E. .t.e. s.t._.d.|
0040 75 00 6d 00 6d 00 79 00-                        |u.m.m.y.|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c7 00 00 00 00 |.....4.. ý..Ç....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, CREATE TABLE dbit1 (    dbit1_key    integer,    dbit1_c2     char(2),    dbit1_vc200  varchar(200),    dbit1_smf    real,    dbit1_flt    float,    dbit1_smi    smallint,    dbit1_int    integer,    dbit1_mon6   decimal(6,2),    dbit1_dec62  decimal(6,2),    dbit1_dec104 decimal(10,4),    dbit1_da     date,    dbit1_dt_y2s datetime2(0),    dbit1_dt_y2m datetime2(0),    dbit1_dt_y2d datetime2(0),    dbit1_dt_h2s time(0),    dbit1_dt_h2m datetime2(0),    dbit1_iva    char(50),    dbit1_ivb    char(50)  ), -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 04 16 00 00 01 00-16 00 00 00 12 00 00 00 |........ ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 43 00 |........ ......C.|
0020 52 00 45 00 41 00 54 00-45 00 20 00 54 00 41 00 |R.E.A.T. E. .T.A.|
0030 42 00 4c 00 45 00 20 00-64 00 62 00 69 00 74 00 |B.L.E. . d.b.i.t.|
0040 31 00 20 00 28 00 20 00-20 00 20 00 20 00 64 00 |1. .(. .  . . .d.|
0050 62 00 69 00 74 00 31 00-5f 00 6b 00 65 00 79 00 |b.i.t.1. _.k.e.y.|
0060 20 00 20 00 20 00 20 00-69 00 6e 00 74 00 65 00 | . . . . i.n.t.e.|
0070 67 00 65 00 72 00 2c 00-20 00 20 00 20 00 20 00 |g.e.r.,.  . . . .|
0080 64 00 62 00 69 00 74 00-31 00 5f 00 63 00 32 00 |d.b.i.t. 1._.c.2.|
0090 20 00 20 00 20 00 20 00-20 00 63 00 68 00 61 00 | . . . .  .c.h.a.|
00a0 72 00 28 00 32 00 29 00-2c 00 20 00 20 00 20 00 |r.(.2.). ,. . . .|
00b0 20 00 64 00 62 00 69 00-74 00 31 00 5f 00 76 00 | .d.b.i. t.1._.v.|
00c0 63 00 32 00 30 00 30 00-20 00 20 00 76 00 61 00 |c.2.0.0.  . .v.a.|
00d0 72 00 63 00 68 00 61 00-72 00 28 00 32 00 30 00 |r.c.h.a. r.(.2.0.|
00e0 30 00 29 00 2c 00 20 00-20 00 20 00 20 00 64 00 |0.).,. .  . . .d.|
00f0 62 00 69 00 74 00 31 00-5f 00 73 00 6d 00 66 00 |b.i.t.1. _.s.m.f.|
0100 20 00 20 00 20 00 20 00-72 00 65 00 61 00 6c 00 | . . . . r.e.a.l.|
0110 2c 00 20 00 20 00 20 00-20 00 64 00 62 00 69 00 |,. . . .  .d.b.i.|
0120 74 00 31 00 5f 00 66 00-6c 00 74 00 20 00 20 00 |t.1._.f. l.t. . .|
0130 20 00 20 00 66 00 6c 00-6f 00 61 00 74 00 2c 00 | . .f.l. o.a.t.,.|
0140 20 00 20 00 20 00 20 00-64 00 62 00 69 00 74 00 | . . . . d.b.i.t.|
0150 31 00 5f 00 73 00 6d 00-69 00 20 00 20 00 20 00 |1._.s.m. i. . . .|
0160 20 00 73 00 6d 00 61 00-6c 00 6c 00 69 00 6e 00 | .s.m.a. l.l.i.n.|
0170 74 00 2c 00 20 00 20 00-20 00 20 00 64 00 62 00 |t.,. . .  . .d.b.|
0180 69 00 74 00 31 00 5f 00-69 00 6e 00 74 00 20 00 |i.t.1._. i.n.t. .|
0190 20 00 20 00 20 00 69 00-6e 00 74 00 65 00 67 00 | . . .i. n.t.e.g.|
01a0 65 00 72 00 2c 00 20 00-20 00 20 00 20 00 64 00 |e.r.,. .  . . .d.|
01b0 62 00 69 00 74 00 31 00-5f 00 6d 00 6f 00 6e 00 |b.i.t.1. _.m.o.n.|
01c0 36 00 20 00 20 00 20 00-64 00 65 00 63 00 69 00 |6. . . . d.e.c.i.|
01d0 6d 00 61 00 6c 00 28 00-36 00 2c 00 32 00 29 00 |m.a.l.(. 6.,.2.).|
01e0 2c 00 20 00 20 00 20 00-20 00 64 00 62 00 69 00 |,. . . .  .d.b.i.|
01f0 74 00 31 00 5f 00 64 00-65 00 63 00 36 00 32 00 |t.1._.d. e.c.6.2.|
0200 20 00 20 00 64 00 65 00-63 00 69 00 6d 00 61 00 | . .d.e. c.i.m.a.|
0210 6c 00 28 00 36 00 2c 00-32 00 29 00 2c 00 20 00 |l.(.6.,. 2.).,. .|
0220 20 00 20 00 20 00 64 00-62 00 69 00 74 00 31 00 | . . .d. b.i.t.1.|
0230 5f 00 64 00 65 00 63 00-31 00 30 00 34 00 20 00 |_.d.e.c. 1.0.4. .|
0240 64 00 65 00 63 00 69 00-6d 00 61 00 6c 00 28 00 |d.e.c.i. m.a.l.(.|
0250 31 00 30 00 2c 00 34 00-29 00 2c 00 20 00 20 00 |1.0.,.4. ).,. . .|
0260 20 00 20 00 64 00 62 00-69 00 74 00 31 00 5f 00 | . .d.b. i.t.1._.|
0270 64 00 61 00 20 00 20 00-20 00 20 00 20 00 64 00 |d.a. . .  . . .d.|
0280 61 00 74 00 65 00 2c 00-20 00 20 00 20 00 20 00 |a.t.e.,.  . . . .|
0290 64 00 62 00 69 00 74 00-31 00 5f 00 64 00 74 00 |d.b.i.t. 1._.d.t.|
02a0 5f 00 79 00 32 00 73 00-20 00 64 00 61 00 74 00 |_.y.2.s.  .d.a.t.|
02b0 65 00 74 00 69 00 6d 00-65 00 32 00 28 00 30 00 |e.t.i.m. e.2.(.0.|
02c0 29 00 2c 00 20 00 20 00-20 00 20 00 64 00 62 00 |).,. . .  . .d.b.|
02d0 69 00 74 00 31 00 5f 00-64 00 74 00 5f 00 79 00 |i.t.1._. d.t._.y.|
02e0 32 00 6d 00 20 00 64 00-61 00 74 00 65 00 74 00 |2.m. .d. a.t.e.t.|
02f0 69 00 6d 00 65 00 32 00-28 00 30 00 29 00 2c 00 |i.m.e.2. (.0.).,.|
0300 20 00 20 00 20 00 20 00-64 00 62 00 69 00 74 00 | . . . . d.b.i.t.|
0310 31 00 5f 00 64 00 74 00-5f 00 79 00 32 00 64 00 |1._.d.t. _.y.2.d.|
0320 20 00 64 00 61 00 74 00-65 00 74 00 69 00 6d 00 | .d.a.t. e.t.i.m.|
0330 65 00 32 00 28 00 30 00-29 00 2c 00 20 00 20 00 |e.2.(.0. ).,. . .|
0340 20 00 20 00 64 00 62 00-69 00 74 00 31 00 5f 00 | . .d.b. i.t.1._.|
0350 64 00 74 00 5f 00 68 00-32 00 73 00 20 00 74 00 |d.t._.h. 2.s. .t.|
0360 69 00 6d 00 65 00 28 00-30 00 29 00 2c 00 20 00 |i.m.e.(. 0.).,. .|
0370 20 00 20 00 20 00 64 00-62 00 69 00 74 00 31 00 | . . .d. b.i.t.1.|
0380 5f 00 64 00 74 00 5f 00-68 00 32 00 6d 00 20 00 |_.d.t._. h.2.m. .|
0390 64 00 61 00 74 00 65 00-74 00 69 00 6d 00 65 00 |d.a.t.e. t.i.m.e.|
03a0 32 00 28 00 30 00 29 00-2c 00 20 00 20 00 20 00 |2.(.0.). ,. . . .|
03b0 20 00 64 00 62 00 69 00-74 00 31 00 5f 00 69 00 | .d.b.i. t.1._.i.|
03c0 76 00 61 00 20 00 20 00-20 00 20 00 63 00 68 00 |v.a. . .  . .c.h.|
03d0 61 00 72 00 28 00 35 00-30 00 29 00 2c 00 20 00 |a.r.(.5. 0.).,. .|
03e0 20 00 20 00 20 00 64 00-62 00 69 00 74 00 31 00 | . . .d. b.i.t.1.|
03f0 5f 00 69 00 76 00 62 00-20 00 20 00 20 00 20 00 |_.i.v.b.  . . . .|
0400 63 00 68 00 61 00 72 00-28 00 35 00 30 00 29 00 |c.h.a.r. (.5.0.).|
0410 20 00 20 00 29 00      -                        | . .).|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c6 00 00 00 00 |.....4.. ý..Æ....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, CREATE TABLE dbit2 (    dbit2_key    integer,    dbit2_c10    char(10),    dbit2_vc200  varchar(200)  ), -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 ec 00 00 01 00-16 00 00 00 12 00 00 00 |...ì.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 43 00 |........ ......C.|
0020 52 00 45 00 41 00 54 00-45 00 20 00 54 00 41 00 |R.E.A.T. E. .T.A.|
0030 42 00 4c 00 45 00 20 00-64 00 62 00 69 00 74 00 |B.L.E. . d.b.i.t.|
0040 32 00 20 00 28 00 20 00-20 00 20 00 20 00 64 00 |2. .(. .  . . .d.|
0050 62 00 69 00 74 00 32 00-5f 00 6b 00 65 00 79 00 |b.i.t.2. _.k.e.y.|
0060 20 00 20 00 20 00 20 00-69 00 6e 00 74 00 65 00 | . . . . i.n.t.e.|
0070 67 00 65 00 72 00 2c 00-20 00 20 00 20 00 20 00 |g.e.r.,.  . . . .|
0080 64 00 62 00 69 00 74 00-32 00 5f 00 63 00 31 00 |d.b.i.t. 2._.c.1.|
0090 30 00 20 00 20 00 20 00-20 00 63 00 68 00 61 00 |0. . . .  .c.h.a.|
00a0 72 00 28 00 31 00 30 00-29 00 2c 00 20 00 20 00 |r.(.1.0. ).,. . .|
00b0 20 00 20 00 64 00 62 00-69 00 74 00 32 00 5f 00 | . .d.b. i.t.2._.|
00c0 76 00 63 00 32 00 30 00-30 00 20 00 20 00 76 00 |v.c.2.0. 0. . .v.|
00d0 61 00 72 00 63 00 68 00-61 00 72 00 28 00 32 00 |a.r.c.h. a.r.(.2.|
00e0 30 00 30 00 29 00 20 00-20 00 29 00             |0.0.). .  .).|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c6 00 00 00 00 |.....4.. ý..Æ....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, CREATE TABLE dbit3 (    dbit3_key    integer,    dbit3_vc200  varchar(200)  ), -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 b8 00 00 01 00-16 00 00 00 12 00 00 00 |...¸.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 43 00 |........ ......C.|
0020 52 00 45 00 41 00 54 00-45 00 20 00 54 00 41 00 |R.E.A.T. E. .T.A.|
0030 42 00 4c 00 45 00 20 00-64 00 62 00 69 00 74 00 |B.L.E. . d.b.i.t.|
0040 33 00 20 00 28 00 20 00-20 00 20 00 20 00 64 00 |3. .(. .  . . .d.|
0050 62 00 69 00 74 00 33 00-5f 00 6b 00 65 00 79 00 |b.i.t.3. _.k.e.y.|
0060 20 00 20 00 20 00 20 00-69 00 6e 00 74 00 65 00 | . . . . i.n.t.e.|
0070 67 00 65 00 72 00 2c 00-20 00 20 00 20 00 20 00 |g.e.r.,.  . . . .|
0080 64 00 62 00 69 00 74 00-33 00 5f 00 76 00 63 00 |d.b.i.t. 3._.v.c.|
0090 32 00 30 00 30 00 20 00-20 00 76 00 61 00 72 00 |2.0.0. .  .v.a.r.|
00a0 63 00 68 00 61 00 72 00-28 00 32 00 30 00 30 00 |c.h.a.r. (.2.0.0.|
00b0 29 00 20 00 20 00 29 00-                        |). . .).|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c6 00 00 00 00 |.....4.. ý..Æ....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffdf00, 9fffffffffffdf04, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffe000),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:1514:SQLAllocHandle(3, 600000000004d630, 600000000001a040)
odbc.c:1689:_SQLAllocStmt(600000000004d630, 600000000001a040)
odbc_export.h:887:SQLSetCursorName(6000000000142680, scu1, -3)
odbc_export.h:815:SQLExecDirect(6000000000142680, CREATE TABLE serialreg (tablename varchar(50) NOT NULL PRIMARY KEY,lastserial bigint NOT NULL), -3)
prepare_query.c:198:parsing 0 parameters
odbc.c:3256:_SQLExecute(6000000000142680)
odbc.c:3273:_SQLExecute() starting with state 0
mem.c:644:tds_free_all_results()
util.c:165:Changed query state from IDLE to WRITING
util.c:165:Changed query state from WRITING to PENDING
packet.c:741:Sending packet
0000 01 01 00 da 00 00 01 00-16 00 00 00 12 00 00 00 |...Ú.... ........|
0010 02 00 00 00 00 00 00 00-00 00 01 00 00 00 43 00 |........ ......C.|
0020 52 00 45 00 41 00 54 00-45 00 20 00 54 00 41 00 |R.E.A.T. E. .T.A.|
0030 42 00 4c 00 45 00 20 00-73 00 65 00 72 00 69 00 |B.L.E. . s.e.r.i.|
0040 61 00 6c 00 72 00 65 00-67 00 20 00 28 00 74 00 |a.l.r.e. g. .(.t.|
0050 61 00 62 00 6c 00 65 00-6e 00 61 00 6d 00 65 00 |a.b.l.e. n.a.m.e.|
0060 20 00 76 00 61 00 72 00-63 00 68 00 61 00 72 00 | .v.a.r. c.h.a.r.|
0070 28 00 35 00 30 00 29 00-20 00 4e 00 4f 00 54 00 |(.5.0.).  .N.O.T.|
0080 20 00 4e 00 55 00 4c 00-4c 00 20 00 50 00 52 00 | .N.U.L. L. .P.R.|
0090 49 00 4d 00 41 00 52 00-59 00 20 00 4b 00 45 00 |I.M.A.R. Y. .K.E.|
00a0 59 00 2c 00 6c 00 61 00-73 00 74 00 73 00 65 00 |Y.,.l.a. s.t.s.e.|
00b0 72 00 69 00 61 00 6c 00-20 00 62 00 69 00 67 00 |r.i.a.l.  .b.i.g.|
00c0 69 00 6e 00 74 00 20 00-4e 00 4f 00 54 00 20 00 |i.n.t. . N.O.T. .|
00d0 4e 00 55 00 4c 00 4c 00-29 00                   |N.U.L.L. ).|

token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffded0, 9fffffffffffded4, 0x6914)
util.c:165:Changed query state from PENDING to READING
packet.c:639:Received packet
0000 04 01 00 15 00 34 01 00-fd 00 00 c6 00 00 00 00 |.....4.. ý..Æ....|
0010 00 00 00 00 00         -                        |.....|

token.c:540:processing result tokens.  marker is  fd(DONE)
token.c:2065:tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
token.c:2082:                rows_affected = 0
token.c:2085:tds_process_end() state set to TDS_IDLE
util.c:165:Changed query state from READING to IDLE
util.c:83:logic error: cannot change query state from IDLE to PENDING
util.c:165:Changed query state from IDLE to IDLE
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 0
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3647:odbc_process_tokens: processed TDS_DONE_RESULT
token.c:525:tds_process_tokens(600000000012dc60, 9fffffffffffded0, 9fffffffffffded4, 0x26914)
token.c:528:tds_process_tokens() state is COMPLETED
odbc.c:3601:odbc_process_tokens: tds_process_tokens returned 1
odbc.c:3602:    result_type=4052, TDS_DONE_COUNT=0, TDS_DONE_ERROR=0
odbc.c:3423:_SQLExecute: odbc_process_tokens returned result_type 4046
odbc.c:4598:_SQLRowCount(6000000000142680, 9fffffffffffdfd0),  -1 rows 
odbc.c:4609:SQLRowCount returns 0, row count -1
odbc.c:876:SQLMoreResults(6000000000142680)
odbc.c:4049:SQLFreeHandle(3, 6000000000142680)
odbc.c:4152:_SQLFreeStmt(6000000000142680, 1, 0)
odbc.c:2315:SQLDisconnect(600000000004d630)
query.c:3796:tds_disconnect() 
util.c:165:Changed query state from IDLE to DEAD
mem.c:644:tds_free_all_results()
odbc.c:4049:SQLFreeHandle(2, 600000000004d630)
odbc.c:4075:_SQLFreeConnect(600000000004d630)
bcp.c:673:_bcp_free_storage(600000000004d630)



Archive powered by MHonArc 2.6.24.

Top of Page