Commit Graph

434 Commits

Author SHA1 Message Date
brianc
e69b6faa82 added null terminator (c-string) to query 2010-10-10 18:20:24 -05:00
brianc
f9b5c7b03e parsing error 2010-10-10 18:15:16 -05:00
brianc
b4d1c67eb5 parsing the most simplistic error message 2010-10-10 17:48:27 -05:00
brianc
94811981d6 added test for bad stream reference 2010-10-10 17:30:33 -05:00
brianc
98856f0e9c simple query scenario tested 2010-10-09 02:48:41 -05:00
brianc
d20e47f644 writes simple query 2010-10-08 23:17:09 -05:00
brianc
3925f6fbb0 passes initial query queue tests 2010-10-07 20:00:49 -05:00
brianc
6abac08c6e changed from this.con to this.stream 2010-10-07 19:39:43 -05:00
brianc
3933be9e0d returning query from function 2010-10-07 19:38:27 -05:00
brianc
a3a21c50e4 using passed in stream to client 2010-10-06 19:54:02 -05:00
brianc
0df4f6037c beginnings of actually TDDd query 2010-10-03 01:14:19 -05:00
brianc
891aacce54 connection tests w/ two clients 2010-10-03 01:08:04 -05:00
brianc
730321dbd4 added connection/disconnection tests 2010-10-03 00:45:10 -05:00
brianc
80ed3e7ffe removing working but untested code 2010-10-03 00:31:13 -05:00
brianc
ab0076aa68 can read single data row of text 2010-10-01 01:02:52 -05:00
brianc
5cf151ad7a whitespace 2010-10-01 00:29:16 -05:00
brianc
d2c22afc36 code cleanup 2010-10-01 00:27:42 -05:00
brianc
961f3f1984 added failing test for reading empty row 2010-10-01 00:22:53 -05:00
brianc
1286090ce1 added tests for parsing row definition messages of various lenghts 2010-09-30 23:13:50 -05:00
brianc
012d2a13f5 parsing a single row description 2010-09-30 22:48:50 -05:00
brianc
df88e11a14 refactored tests slightly, working on rowdescription parsing 2010-09-30 01:26:32 -05:00
brianc
1ef03e27a9 work on executing query 2010-09-29 02:46:44 -05:00
brianc
c68c365478 working on getting query to complete 2010-09-29 01:01:52 -05:00
brianc
6ba4575385 parser now parses all messages at once 2010-09-30 00:40:06 -05:00
brianc
8c30521cf9 refactored parsing 2010-09-30 00:27:56 -05:00
brianc
124bd0960e parsing of ready for query 2010-09-30 00:14:41 -05:00
brianc
7c9de7f442 better unsupported message code error message 2010-09-29 23:58:01 -05:00
brianc
19099919f7 a bit of logging for testing purposes 2010-09-29 00:43:28 -05:00
brianc
2c9d26d7f6 refactored parser to be more stateful 2010-09-29 00:30:35 -05:00
brianc
9688d8947f added test for parsing CString 2010-09-29 00:20:10 -05:00
brianc
a921d6c144 made Parser non-static 2010-09-29 00:12:04 -05:00
brianc
a9a9f2e03a parsing of parameterstatus messsage 2010-09-29 00:08:53 -05:00
brianc
94edc2583e better error throw 2010-09-28 23:31:19 -05:00
brianc
18e6ec2121 totally thrashing at this point, but moving forward 2010-09-28 23:18:46 -05:00