1. 02 Dec, 2002 1 commit
    • unknown's avatar
      Fixed bug when creating keys in temporary HEAP tables. · 59dec1bc
      unknown authored
      (This caused the DISTINCT test to fail)
      Removed one inline as this caused compiler problems
      
      
      heap/hp_create.c:
        Comment
      heap/hp_update.c:
        Indentation cleanup
      heap/hp_write.c:
        Indentation cleanup
      mysql-test/mysql-test-run.sh:
        Better options for valgrind
      sql/item_sum.cc:
        Removed inline as this caused compiler problems with gcc 3.2
        (Was also non standard usage of inline)
      sql/item_sum.h:
        Removed inline as this caused compiler problems with gcc 3.2
      sql/sql_class.cc:
        Fixed reference to uninitialized value
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_select.cc:
        Fixed bug when creating keys in temporary HEAP tables.
      59dec1bc
  2. 30 Nov, 2002 8 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 9fcbfc0d
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      9fcbfc0d
    • unknown's avatar
      fix of error handling · 1941d9b5
      unknown authored
      
      mysql-test/r/subselect.result:
        test of error handling with subselect
      mysql-test/t/subselect.test:
        test of error handling with subselect
      1941d9b5
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.1 · 0b36bbdf
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      0b36bbdf
    • unknown's avatar
      some bug fixes and tests for those. · b790bc24
      unknown authored
      I am pushing now, because :
      
      * I have a fix for crashing bug
      * Sanja will destroy my changes in sub-select test ... ;)
      
      
      mysql-test/r/derived.result:
        tests for recent bugs
      mysql-test/r/subselect.result:
        tests for recent bugs
      mysql-test/t/derived.test:
        tests for recent bugs
      mysql-test/t/subselect.test:
        tests for recent bugs
      sql/sql_derived.cc:
        Luckily, we have `make test` so that my last changes could be re-checked
      b790bc24
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 0b270eb4
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      
      0b270eb4
    • unknown's avatar
      check of using same table for changing and select · 64a3827b
      unknown authored
      
      mysql-test/r/subselect.result:
        test of using same table for changing and select
      mysql-test/t/subselect.test:
        test of using same table for changing and select
      sql/mysql_priv.h:
        new function
      sql/sql_base.cc:
        new function
      64a3827b
    • unknown's avatar
      many bug fixes · b4966926
      unknown authored
      
      mysql-test/t/subselect.test:
        fixing problems with aliases being forced on derived tables
      sql/item_func.cc:
        Fixing a bug that caused MySQL to crash on SELECT ...GROUP BY func(feilds)
      sql/item_sum.cc:
        Making us compatible with ISO C++ paragrah 7.1.9.4
      sql/item_sum.h:
        Making us compatible with ISO C++ paragrah 7.1.9.4
      sql/sql_derived.cc:
        Fixing two more bugs in derived tables.
        
        One in EXPLAIN and another causing wrong result in opt_sum_query()
      sql/sql_yacc.yy:
        Making possible INSERT from SELECT list_of_constants
      b4966926
    • unknown's avatar
      Pass thd as an argument to yylex(). · 0bc73be2
      unknown authored
      
      sql/sql_lex.cc:
        Pass thd as an argument to yylex(), avoiding the use of current_lex
        (and thus current_thd).
      0bc73be2
  3. 29 Nov, 2002 17 commits
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.1 · 3706418d
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      3706418d
    • unknown's avatar
      1d418357
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.1 · 614a610a
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      614a610a
    • unknown's avatar
      Merge work:/home/bk/mysql-4.1 · 8e02b39a
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_yacc.yy:
        Auto merged
      8e02b39a
    • unknown's avatar
      many, many changes · 66e3b9d7
      unknown authored
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      include/mysqld_error.h:
        Merging changes ...
      mysql-test/t/subselect.test:
        Merging changes ...
      sql/share/czech/errmsg.txt:
        Merging changes ...
      sql/share/danish/errmsg.txt:
        Merging changes ...
      sql/share/dutch/errmsg.txt:
        Merging changes ...
      sql/share/english/errmsg.txt:
        Merging changes ...
      sql/share/estonian/errmsg.txt:
        Merging changes ...
      sql/share/french/errmsg.txt:
        Merging changes ...
      sql/share/german/errmsg.txt:
        Merging changes ...
      sql/share/greek/errmsg.txt:
        Merging changes ...
      sql/share/hungarian/errmsg.txt:
        Merging changes ...
      sql/share/italian/errmsg.txt:
        Merging changes ...
      sql/share/japanese/errmsg.txt:
        Merging changes ...
      sql/share/korean/errmsg.txt:
        Merging changes ...
      sql/share/norwegian-ny/errmsg.txt:
        Merging changes ...
      sql/share/norwegian/errmsg.txt:
        Merging changes ...
      sql/share/polish/errmsg.txt:
        Merging changes ...
      sql/share/portuguese/errmsg.txt:
        Merging changes ...
      sql/share/romanian/errmsg.txt:
        Merging changes ...
      sql/share/russian/errmsg.txt:
        Merging changes ...
      sql/share/serbian/errmsg.txt:
        Merging changes ...
      sql/share/slovak/errmsg.txt:
        Merging changes ...
      sql/share/spanish/errmsg.txt:
        Merging changes ...
      sql/share/swedish/errmsg.txt:
        Merging changes ...
      sql/share/ukrainian/errmsg.txt:
        Merging changes ...
      66e3b9d7
    • unknown's avatar
      added missing Com_xxx status variables · dcae6979
      unknown authored
      moved SQLCOM_END to the end of the list
      bad copy-paste in sql_yacc.yy fixed
      
      
      sql/mysqld.cc:
        added missing Com_xxx status variables
      sql/sql_lex.h:
        moved SQLCOM_END to the end. Comments added.
      sql/sql_yacc.yy:
        bad copy-paste fixed :)
      dcae6979
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 23342bad
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      
      23342bad
    • unknown's avatar
      many bug fixes · 1b921a99
      unknown authored
      
      mysql-test/r/derived.result:
        test for a bug fix which caused a deadlock !
        Also test for a bug fix with using() on derived tables
      mysql-test/r/subselect.result:
        correcting previous changes caused by a bug ..
      mysql-test/t/derived.test:
        test for a bug fix which caused a deadlock !
        Also test for a bug fix with using() on derived tables
      mysql-test/t/subselect.test:
        corrections of previous changes caused by a bug ..
      sql/sql_base.cc:
        A for for a bug which caused a deadlock !
        Also fix for a bug with using() on derived tables
      sql/sql_derived.cc:
        code cleanup
      sql/sql_lex.cc:
        fix for deadlock
      1b921a99
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      checking columns of top items · 042c34d8
      unknown authored
      
      mysql-test/r/row_test.result:
        changed error message (report requestet columns number)
        new tests
      mysql-test/t/row_test.test:
        new tests
      sql/item.h:
        checking columns of wrapper items
      042c34d8
    • unknown's avatar
      Merge abarkov@work.mysql.com:/home/bk/mysql-4.1 · b226e15a
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1.wrk
      
      
      b226e15a
    • unknown's avatar
      UCS2 fixes · 641c7ff9
      unknown authored
      641c7ff9
    • unknown's avatar
      my_strntod_ucs2 and my_strntol_ucs2 fixes · 4b0a6e6b
      unknown authored
      4b0a6e6b
    • unknown's avatar
      fixed error handling bug · 5b62dfcd
      unknown authored
      fixed naming bug
      fixed bug of subselect excluding
      
      
      mysql-test/r/subselect.result:
        test of error handling bug
        test of naming bug
        test bug of subselect excluding
      mysql-test/t/subselect.test:
        test of error handling bug
        test of naming bug
        test bug of subselect excluding
      sql/item_subselect.cc:
        fixed naming bug
        fixed error handling bug
      sql/sql_lex.cc:
        fixed subselect excluding bug
      5b62dfcd
    • unknown's avatar
      Fixesd that wrong charset were used · 781a5bc8
      unknown authored
      781a5bc8
    • unknown's avatar
      mysql.h: · 5996e68f
      unknown authored
        renamed arg name to avoid a warning that it shadows global variable
      
      
      include/mysql.h:
        renamed arg name to avoid a warning that it shadows global variable
      5996e68f
  4. 28 Nov, 2002 14 commits
    • unknown's avatar
    • unknown's avatar
      test of changing subselects tree · 3ec9f7e1
      unknown authored
      3ec9f7e1
    • unknown's avatar
      fixed bug IN subselect with ORDER · 4078d0de
      unknown authored
      
      mysql-test/r/subselect.result:
        test of IN subselect with ORDER
      mysql-test/t/subselect.test:
        test of IN subselect with ORDER
      4078d0de
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 53a81804
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-row-4.1
      
      
      53a81804
    • unknown's avatar
      after review fix(CRUM) · c58b8afa
      unknown authored
      after merge fix
      
      
      sql/item.cc:
        after merge fix
      sql/item_cmpfunc.cc:
        after review fix
      sql/item_cmpfunc.h:
        after review fix
      c58b8afa
    • unknown's avatar
      merging · 5fe662e2
      unknown authored
      
      include/mysqld_error.h:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/german/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/polish/errmsg.txt:
        Auto merged
      sql/share/portuguese/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/serbian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/share/swedish/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      5fe662e2
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 9e355217
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-row-4.1
      
      
      sql/item.h:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      9e355217
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql-4.1 · 5c7ce520
      unknown authored
      into myvenu.com:/home/venu/bk/src-4.1
      
      
      5c7ce520
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · b9daa52c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      b9daa52c
    • unknown's avatar
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 12b7086c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      
      sql/sql_yacc.yy:
        Auto merged
      12b7086c
    • unknown's avatar
      fixed * without tables in IN bug · 6f80b711
      unknown authored
      fixed sunction-test select in IN bug
      fixed unions in subselect bug
      
      
      include/mysqld_error.h:
        new warning
      mysql-test/r/subselect.result:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      mysql-test/t/subselect.test:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      sql/item.cc:
        fixed * substitution without tables
      sql/item_subselect.cc:
        fixed subselect rewriting with function-test subselect
      sql/item_subselect.h:
        mechanism for subselect removing
      sql/share/czech/errmsg.txt:
        new warning
      sql/share/danish/errmsg.txt:
        new warning
      sql/share/dutch/errmsg.txt:
        new warning
      sql/share/english/errmsg.txt:
        new warning
      sql/share/estonian/errmsg.txt:
        new warning
      sql/share/french/errmsg.txt:
        new warning
      sql/share/german/errmsg.txt:
        new warning
      sql/share/greek/errmsg.txt:
        new warning
      sql/share/hungarian/errmsg.txt:
        new warning
      sql/share/italian/errmsg.txt:
        new warning
      sql/share/japanese/errmsg.txt:
        new warning
      sql/share/korean/errmsg.txt:
        new warning
      sql/share/norwegian-ny/errmsg.txt:
        new warning
      sql/share/norwegian/errmsg.txt:
        new warning
      sql/share/polish/errmsg.txt:
        new warning
      sql/share/portuguese/errmsg.txt:
        new warning
      sql/share/romanian/errmsg.txt:
        new warning
      sql/share/russian/errmsg.txt:
        new warning
      sql/share/serbian/errmsg.txt:
        new warning
      sql/share/slovak/errmsg.txt:
        new warning
      sql/share/spanish/errmsg.txt:
        new warning
      sql/share/swedish/errmsg.txt:
        new warning
      sql/share/ukrainian/errmsg.txt:
        new warning
      sql/sql_base.cc:
        fixed case on no name field in UNION subselect
      sql/sql_lex.cc:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_lex.h:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_parse.cc:
        error handling
      sql/sql_union.cc:
        fixed unions in subselect
      sql/sql_yacc.yy:
        fixed Lex->describe flag appearence
      6f80b711
    • unknown's avatar
      adding mandatory aliases for derived tables as per SQL-99 · 802705f9
      unknown authored
      doing it in sql_yacc.yy does not work
      this commit contains fixes for other tests
      there are fixes in subselect test which will have to be changed
      once fix_fields is fixed to work with aliased derived tables
      
      
      802705f9
    • unknown's avatar
      INSERT ... UPDATE syntax (syntax only) · 37a99172
      unknown authored
      sql_yacc.yy and sql_parse.cc cleanup
      
      
      sql/lex.h:
        INSERT ... UPDATE syntax
      sql/sql_parse.cc:
        merged SQLCOM_REPLACE and SQLCOM_INSERT the same way their _SELECT counterparts were merged long time ago - just to remove duplicate code and be consistent :)
        now nobody needs SQLCOM_REPLACE* at all :))
      sql/sql_yacc.yy:
        INSERT ... UPDATE syntax
        cleanup
      37a99172