Daniel Nichter
|
0da0f4e972
Fixes #389 by not sending COM_QUIT until authenticated. Also refactors auth response handling code into func to reduce some duplication of logic. Test requires a MySQL socket and user having privs to use it.
|
10 éve |
Luiz Paulo
|
7ec062f236
Fix issue with NO_AUTO_CREATE_USER option in sql_mode
|
10 éve |
Julien Schmidt
|
04c78bbdd9
columnsWithAlias: Add test
|
10 éve |
Arne Hormann
|
5de00899e6
support uint64 parameters with high bit set
|
10 éve |
INADA Naoki
|
52a5860d0b
Fix missing db.Close()
|
11 éve |
INADA Naoki
|
e517683745
Allow interpolateParams only with ascii, latin1 and utf8 collations
|
11 éve |
INADA Naoki
|
916a1f2433
escapeString -> escapeBackslash
|
11 éve |
INADA Naoki
|
3c8fa904c2
substitutePlaceholder -> interpolateParams
|
11 éve |
arvenil
|
b4732595f0
Test if inserted data is correctly retrieved after being escaped
|
11 éve |
arvenil
|
e6bf23ab50
Add basic SQL injection tests, including NO_BACKSLASH_ESCAPES sql_mode
|
11 éve |
INADA Naoki
|
b7c2c47a36
Add substitutePlaceholder option to DSN
|
11 éve |
Arne Hormann
|
8111ee3ec3
Merge pull request #249 from arnehormann/microsecs
|
11 éve |
Arne Hormann
|
84417312d5
added new TIMESTAMP test
|
11 éve |
Arne Hormann
|
f1914b405a
removed TIMESTAMP tests (still tested in TZ conversion)
|
11 éve |
Arne Hormann
|
4834ee6ac2
Minor stylistic improvement, added a test
|
11 éve |
Arne Hormann
|
dc9e515142
skip offending test on misbehaving servers - another way
|
11 éve |
Arne Hormann
|
7e893ef8a1
skip offending test on misbehaving servers
|
11 éve |
Arne Hormann
|
e941c93942
trying to get more information out of Travis II
|
11 éve |
Arne Hormann
|
6d51ca56f5
faster and unified date formatting, flexible lengths, better tests
|
11 éve |
Arne Hormann
|
f3e6a605b4
PR done, all tests succeed and problematic ones are auto-skipped
|
11 éve |
Arne Hormann
|
1009a046eb
support microseconds with MySQL 5.7+
|
11 éve |
Julien Schmidt
|
9d8f29c349
Registration of custom dial functions
|
11 éve |
Julien Schmidt
|
8636b6ca08
Finish collation implementation
|
11 éve |
Arne Hormann
|
13fb9281ba
add improved collation support (broken)
|
11 éve |
Julien Schmidt
|
5eac8b0184
vet: rename fatal to fatalf in driver_test.go
|
11 éve |
Gustavo Kristic
|
734d65ec97
Export errors for easy checks from application code
|
11 éve |
Arne Hormann
|
75c7231d47
incorporate Juliens suggestions and update the changelog
|
12 éve |
Arne Hormann
|
edded4d136
increase number of arguments in test (forgot to raise this again)
|
12 éve |
Arne Hormann
|
a3fcad9b2b
made writeExecutePacket independent of number of arguments
|
12 éve |
Arne Hormann
|
9247ef886d
ad failing test
|
12 éve |