1. 09 Feb, 2007 1 commit
    • unknown's avatar
      Bug#25126: Reference to non-existant column in UPDATE...ORDER BY... crashes server · eebf1d9a
      unknown authored
      "update existingtable set anycolumn=nonexisting order by nonexisting" would crash
      the server.
      
      Though we would find the reference to a field, that doesn't mean we can then use
      it to set some values.  It could be a reference to another field.  If it is NULL, 
      don't try to use it to set values in the Item_field and instead return an error.
      
      Over the previous patch, this signals an error at the location of the error, rather
      than letting the subsequent deref signal it.
      
      
      mysql-test/r/order_by.result:
        Verify that all permutations work.
      mysql-test/t/order_by.test:
        Verify that all permutations work.
      sql/item.cc:
        When the field is NULL, don't dereference it when we set_field().  
        Instead, raise an error.
      eebf1d9a
  2. 22 Dec, 2006 4 commits
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 8f27663e
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/41
      
      8f27663e
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug24037/my41-bug24037 · f5a5700f
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-4.1-maint
      
      f5a5700f
    • unknown's avatar
      Fix for the bug #24037 "Lossy Hebrew to Unicode conversion". · 5adc1a66
      unknown authored
      Added definitions for the following Hebrew characters as specified by the ISO/IEC 8859-8:1999:
      
      LEFT-TO-RIGHT MARK (LRM)
      RIGHT-TO-LEFT MARK (RLM)
      
      
      sql/share/charsets/hebrew.xml:
        Added definitions for the following Hebrew characters as specified by the ISO/IEC 8859-8:1999:
        
        LEFT-TO-RIGHT MARK (LRM)
        RIGHT-TO-LEFT MARK (RLM)
      strings/conf_to_src.c:
        Added a warning comment in the generated C source file.
      strings/ctype-extra.c:
        Re-generated from sql/share/charsets/hebrew.xml
      mysql-test/r/ctype_hebrew.result:
        Added the test case for bug #24037 "Lossy Hebrew to Unicode conversion"
      mysql-test/t/ctype_hebrew.test:
        Added the test case for bug #24037 "Lossy Hebrew to Unicode conversion"
      5adc1a66
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/g41 · af805702
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/41
      
      
      scripts/mysqld_multi.sh:
        Auto merged
      af805702
  3. 21 Dec, 2006 1 commit
  4. 20 Dec, 2006 3 commits
  5. 19 Dec, 2006 1 commit
  6. 16 Dec, 2006 1 commit
  7. 15 Dec, 2006 5 commits
  8. 14 Dec, 2006 9 commits
  9. 13 Dec, 2006 1 commit
  10. 12 Dec, 2006 1 commit
  11. 11 Dec, 2006 6 commits
  12. 08 Dec, 2006 6 commits
    • unknown's avatar
      Makefile.am · 3ec5e033
      unknown authored
          - test* targets are identical (as much as possible) to 5.0 & 5.1 versions
          - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location
          - PHONY: target includes all test targets
      
      
      Makefile.am:
        - test* targets are identical (as much as possible) to 5.0 & 5.1 versions
        - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location
        - PHONY: target includes all test targets
      3ec5e033
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · 569166d4
      unknown authored
      
      mysql-test/t/kill.test:
        Move the connect of second connection to just before the query to be killed are sent.
        This introduces less variance since the connect time is not included in the delay
        we want between send of query and kill.
      569166d4
    • unknown's avatar
      Add missing space · ead07276
      unknown authored
      ead07276
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · d7e559dd
      unknown authored
       - Use "mysql_field_count" to determine if there is a need to
         call "mysql_store_result"
      
      
      client/mysqltest.c:
        Only call 'mysql_store_result' if 'mysql_field_count' is greater than 0
        indicating that this query has a result set.  This change is mainly since
        if mysql_store_result fails the value returned by mysql_field_count will be reset.
      d7e559dd
    • unknown's avatar
      Bug#24498 Stack overflow in mysqltest · ecba2302
      unknown authored
       - Thanks to Vasil Dimov for the patch!
      
      
      client/mysqltest.c:
        Use my_snprintf to protect against exceeding size of buff
        Since variable name and valu might not be null terminated it's necessary to
        provide the length of the format specifiers.
      ecba2302
    • unknown's avatar
      0c81ee81
  13. 07 Dec, 2006 1 commit
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · bed51b0d
      unknown authored
      - Using DATA/INDEX DIRECTORY option on Windows put data/index file into
        default directory because the OS doesn't support readlink().
      - The procedure for changing data/index file directory is 
        different under Windows.
      - With this fix we report a warning if DATA/INDEX option is used,
        but OS doesn't support readlink().
      
      
      mysql-test/r/windows.result:
        - updated result file.
      mysql-test/t/windows.test:
        - Added test case to verify we get warnings if we specify DATA/INDEX
          DIRECTORY on a platform which doesn't support readlink().
      sql/sql_parse.cc:
        - Added warnings if DATA/INDEX DIRECTORY option is used but not supported
          by the target platform.
      bed51b0d