1. 07 Apr, 2006 1 commit
    • konstantin@mysql.com's avatar
      A fix and a test case for Bug#16365 "Prepared Statements: DoS with · 51899331
      konstantin@mysql.com authored
      too many open statements". The patch adds a new global variable
      @@max_prepared_stmt_count. This variable limits the total number
      of prepared statements in the server. The default value of
      @@max_prepared_stmt_count is 16382. 16382 small statements
      (a select against 3 tables with GROUP, ORDER and LIMIT) consume 
      100MB of RAM. Once this limit has been reached, the server will 
      refuse to prepare a new statement and return ER_UNKNOWN_ERROR 
      (unfortunately, we can't add new errors to 4.1 without breaking 5.0). The limit is changeable after startup
      and can accept any value from 0 to 1 million. In case
      the new value of the limit is less than the current
      statement count, no new statements can be added, while the old
      still can be used. Additionally, the current count of prepared 
      statements is now available through a global read-only variable 
      @@prepared_stmt_count.
      51899331
  2. 23 Mar, 2006 3 commits
  3. 20 Mar, 2006 2 commits
    • bar@mysql.com's avatar
      Bug#17374: select ... like 'A%' operator fails to find value on columuns with key · da8a68b4
      bar@mysql.com authored
      Fixed that LIKE worked case insensitively for latin2_czech_cs,
      which was wrong for a case sensitive collation.
      da8a68b4
    • bar@mysql.com's avatar
      Bug#18004 Connecting crashes server when default charset is UCS2 · 33e446b3
      bar@mysql.com authored
      table.cc:
        Fixing to use system_charset_info instead of default_charset_info.
        Crash happened because the "ctype" array is empty in UCS2,
        and thus cannot be used with my_isspace().
        The reason why UCS2 appeared in this context was because of
        of default_charset_info variable incorrectly substituted to my_isspace().
        As functions check_db_name(), check_table_name() and check_column_name()
        always get values in utf8, system_charset_info must be used instead.
      ctype_ucs2_def.test, ctype_ucs2_def-master.opt, ctype_ucs2_def.result:
        new file
      33e446b3
  4. 17 Mar, 2006 1 commit
  5. 16 Mar, 2006 1 commit
  6. 13 Mar, 2006 3 commits
  7. 10 Mar, 2006 3 commits
  8. 09 Mar, 2006 1 commit
  9. 08 Mar, 2006 4 commits
  10. 06 Mar, 2006 4 commits
  11. 04 Mar, 2006 3 commits
  12. 03 Mar, 2006 3 commits
  13. 02 Mar, 2006 6 commits
  14. 01 Mar, 2006 5 commits