summaryrefslogtreecommitdiff
path: root/mysql-test/t/connect.test
Commit message (Collapse)AuthorAgeFilesLines
* Bug #44922 mysqltest's query_get_value function can't work with queries ↵Bjorn Munch2009-05-251-1/+2
| | | | | | | | containing ',' check_command_args() always looks for the first , (or whatever) Extended check_command_args() to let arguments be quoted Added test in mysqltest.test
* Merge 5.0 -> 5.1 of fix for Bug#42003 and Bug#43114 Matthias Leich2009-03-061-38/+46
|\
| * Merge of fix for Bug#42003 and Bug#43114 into more actual GCA treeMatthias Leich2009-03-051-13/+25
| |\ | | | | | | modifications according to the reviews are included
| | * Last slice of fix for Bug#42003 tests missing the disconnect of connections ↵Matthias Leich2009-03-031-13/+29
| |/ | | | | | | | | | | | | <> default + Fix for Bug#43114 wait_until_count_sessions too restrictive, random PB failures + Removal of a lot of other weaknesses found + modifications according to review
* | Avoid races in connect.test.anozdrin/alik@quad.2008-03-171-46/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was in a test case for Bug33507: - when the number of active connections reaches the limit, the server accepts only root connections. That's achieved by accepting a connection, negotiating with the client and checking user credentials. If it is not SUPER, the connection is dropped. - when the server accepts connection, it increases the counter; - when the server drops connection, it decreases the counter; - the race was in between of decreasing the counter and accepting new connection: - max_user_connections = 2; - 2 oridinary user connections accepted; - extra user connection is establishing; - server checked user credentials, and sent 'Too many connections' error; - the client receives the error and establishes extra SUPER user connection; - the server however didn't decrease the counter (the extra user connection still is "alive" in the server) -- so, the new SUPER-user connection, will be dropped, because it exceeds (max_user_connections + 1). The fix is to implement "safe connect", which makes several attempts to connect and use it in the test script.
* | Fix for Bug#35074: max_used_connections is not correct.anozdrin/alik@quad.2008-03-131-0/+75
| | | | | | | | | | | | | | The problem was that number of threads was used to calculate max_used_connections. The fix is to use number of active connections.
* | Fix for Bug#33507: Event scheduler creates more threadsanozdrin/alik@quad.2008-03-121-1/+126
| | | | | | | | | | | | | | | | | | | | than max_connections -- which results in user lockout. The problem was that the variable thread_count that contains the number of active threads was interpreted as a number of active connections. The fix is to introduce a new counter for active connections.
* | Merge neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_toolsmsvensson@neptunus.(none)2006-10-041-0/+1
|\ \ | |/ | | | | into neptunus.(none):/home/msvensson/mysql/same_tools/my51-same_tools
| * Merge shellback.(none):/home/msvensson/mysql/same_tools/my41-same_toolsmsvensson@shellback.(none)2006-10-031-0/+1
| |\ | | | | | | | | | into shellback.(none):/home/msvensson/mysql/same_tools/my50-same_tools
| | * Update mysqltest to latest versionmsvensson@shellback.(none)2006-10-031-40/+43
| | | | | | | | | | | | | | | - ie. backport from 5.1 - also update testcase error dected by new version
* | | WL1019: complete patch. Reapplied patch to the cleancps@outpost.site2006-01-191-0/+4
|/ / | | | | | | | | tree to get rid of multiple typos in CS comments and unify the patch.
* | mysql-test/r/connect.result + mysql-test/t/connect.testjoerg@mysql.com2005-11-071-10/+10
| | | | | | | | Replace the full socket path name, not just a directory component. bug#14720
* | Use replace_result to mask portnumber printed from failing connect msvensson@neptunus.(none)2005-10-281-10/+10
| |
* | Always test ssl and compressmsvensson@neptunus.(none)2005-10-121-40/+42
| | | | | | | | - Updated after review
* | Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se2005-09-081-0/+18
|\ \ | |/ | | | | into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0
| * Modified test case for bug #12517SergeyV@selena.2005-09-081-10/+10
| |
| * Fixes bug #12517. Clear user variables and replication events before SergeyV@selena.2005-08-301-0/+18
| | | | | | | | closing temp tables in thread cleanup.
* | Merge mysql.com:/home/my/mysql-4.1monty@mysql.com2005-07-281-0/+2
|\ \ | |/ | | | | into mysql.com:/home/my/mysql-5.0
| * Added end marker for tests to make future merges easiermonty@mysql.com2005-07-281-0/+2
| |
* | Merge embedded server testing changes from 4.1.jimw@mysql.com2005-04-011-0/+3
|\ \ | |/
| * Shift skipping of some tests with embedded server from withinjimw@mysql.com2005-03-291-0/+3
| | | | | | | | mysql-test-run to the tests themselves.
* | post-merge fixbell@sanja.is.com.ua2004-10-281-1/+1
| |
* | errors without code removedbell@sanja.is.com.ua2004-10-201-1/+1
|/ | | | | | net_printf/send_error calls replaced by my_error family functions -1/1 (sent/unsent) error reporting removed (WL#2133)
* Portability fixesmonty@mysql.com2004-08-261-0/+1
| | | | Fixed bug in end space handle for WHERE text_column="constant"
* apply in SET PASSWORD same checks as in GRANT, to let only valid hashes throughserg@serg.mylan2004-07-301-0/+2
|
* Bug#4338: mysql-test-run fails if compiled with non-latin1 character setbar@mysql.com2004-07-081-2/+2
|
* Preliminary support for options --secure-auth, kostja@oak.local2003-07-081-1/+4
| | | | | | | | | --old-passwords Support for option --old-protocol was removed. Some test performed. Tests for SSL and replication are pending. More strict following to specification for --old-passwords is in the TODO.
* cleaned user used in tests 'connect' and 'rpl_temporary'guilhem@mysql.com2003-06-131-0/+5
|
* Changed mysql-test to print warnings for not existing table to DROP TABLEmonty@mashka.mysql.fi2003-01-061-1/+0
| | | | | | Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
* Added support for DROP TEMPORARY TABLEmonty@mashka.mysql.fi2003-01-041-2/+0
| | | | | Removed mysql_warnings() API function. Post merge fixes.
* Fix minor bug and add test of connection with new/old/without passwords peter@mysql.com2002-12-051-0/+67