1. 04 May, 2011 4 commits
  2. 03 May, 2011 1 commit
  3. 28 Apr, 2011 2 commits
    • Georgi Kodinov's avatar
      Bug #11764517: 57359: POSSIBLE TO CIRCUMVENT SECURE_FILE_PRIV · 59d75160
      Georgi Kodinov authored
        USING '..' ON WINDOWS
      
      Backport of the fix to 5.0 (to be null-merged to 5.1).
      Moved the test into the main test suite. 
      Made mysql-test-run.pl to not use symlinks for sdtdata as the symlinks
      are now properly recognized by secure_file_priv.
      Made sure the paths in load_file(), LOAD DATA and SELECT .. INTO OUTFILE 
      that are checked against secure_file_priv in a correct way similarly to 5.1 
      by the extended is_secure_file_path() backport before the comparison.
      Added an extensive test with all the variants of upper/lower case, 
      slash/backslash and case sensitivity.
      Added few comments to the code.
      59d75160
    • Tor Didriksen's avatar
      Bug#12340997 - DATE_ADD/DATE_SUB WITH INTERVAL CRASHES IN GET_INTERVAL_VALUE() · ae154449
      Tor Didriksen authored
      get_interval_value() was trying to parse the input string,
      looking for leading '-' while skipping whitespace.
      The macro my_isspace() does not work for utf16 character set,
      since my_charset_utf16_general_ci.ctype == NULL.
      
      Solution: convert input to ASCII before parsing.
      
      
      mysql-test/r/ctype_utf16.result:
        New test case.
      mysql-test/t/ctype_utf16.test:
        New test case.
      sql/item_timefunc.cc:
        Use val_string_ascii() rather than val_string()
        so that we can safely use my_isspace() for skipping whitespace.
      ae154449
  4. 27 Apr, 2011 1 commit
  5. 18 Apr, 2011 2 commits
  6. 15 Apr, 2011 2 commits
  7. 13 Apr, 2011 3 commits
  8. 11 Apr, 2011 23 commits
  9. 10 Apr, 2011 1 commit
  10. 08 Apr, 2011 1 commit