1. 30 Nov, 2002 2 commits
    • unknown's avatar
      some bug fixes and tests for those. · 9b339818
      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
      9b339818
    • unknown's avatar
      many bug fixes · 99e70d4f
      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
      99e70d4f
  2. 29 Nov, 2002 17 commits
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.1 · fc070bfd
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      fc070bfd
    • unknown's avatar
      44e35bde
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.1 · 7525d11a
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      7525d11a
    • unknown's avatar
      Merge work:/home/bk/mysql-4.1 · 0e0b366c
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_yacc.yy:
        Auto merged
      0e0b366c
    • unknown's avatar
      many, many changes · 5b122022
      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 ...
      5b122022
    • unknown's avatar
      added missing Com_xxx status variables · 73481ed6
      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 :)
      73481ed6
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 03a043d7
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      03a043d7
    • unknown's avatar
      many bug fixes · 0a689e6c
      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
      0a689e6c
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      checking columns of top items · 3141057a
      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
      3141057a
    • unknown's avatar
      Merge abarkov@work.mysql.com:/home/bk/mysql-4.1 · d46d26ec
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1.wrk
      
      d46d26ec
    • unknown's avatar
      UCS2 fixes · fbe69e6e
      unknown authored
      fbe69e6e
    • unknown's avatar
      my_strntod_ucs2 and my_strntol_ucs2 fixes · a640fc95
      unknown authored
      a640fc95
    • unknown's avatar
      fixed error handling bug · 701a5b1b
      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
      701a5b1b
    • unknown's avatar
      Fixesd that wrong charset were used · 52ba265b
      unknown authored
      52ba265b
    • unknown's avatar
      mysql.h: · 76949bf9
      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
      76949bf9
  3. 28 Nov, 2002 21 commits
    • unknown's avatar
    • unknown's avatar
      test of changing subselects tree · c01ed8b5
      unknown authored
      c01ed8b5
    • unknown's avatar
      fixed bug IN subselect with ORDER · 2a6028dc
      unknown authored
      
      mysql-test/r/subselect.result:
        test of IN subselect with ORDER
      mysql-test/t/subselect.test:
        test of IN subselect with ORDER
      2a6028dc
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 660fc101
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-row-4.1
      
      660fc101
    • unknown's avatar
      after review fix(CRUM) · bc2cde11
      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
      bc2cde11
    • unknown's avatar
      merging · 4b75cb03
      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
      4b75cb03
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 85836d7a
      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
      85836d7a
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql-4.1 · b019ead4
      unknown authored
      into myvenu.com:/home/venu/bk/src-4.1
      
      b019ead4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 68f879ca
      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
      68f879ca
    • unknown's avatar
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 31cc5e88
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
      
      
      sql/sql_yacc.yy:
        Auto merged
      31cc5e88
    • unknown's avatar
      fixed * without tables in IN bug · 1472cbf6
      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
      1472cbf6
    • unknown's avatar
      adding mandatory aliases for derived tables as per SQL-99 · 6df255d9
      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
      
      6df255d9
    • unknown's avatar
      INSERT ... UPDATE syntax (syntax only) · 7dc19616
      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
      7dc19616
    • unknown's avatar
      Fixed the reduce/reduce conflicts introduced by subselects. · c293be65
      unknown authored
      
      sql/sql_yacc.yy:
        Fixed the reduce/reduce conflicts introduced by subselects by
        breaking select_init apart.
      c293be65
    • unknown's avatar
      Makefile.am: · 124f8113
      unknown authored
        libmysys.a is needed for my_errno
      
      
      regex/Makefile.am:
        libmysys.a is needed for my_errno
      124f8113
    • unknown's avatar
      ::index_read_last() method has been added · ee227ca7
      unknown authored
      ee227ca7
    • unknown's avatar
      Merge mysql.com:/home/wax/mysql-4n into mysql.com:/home/wax/mysql-4mi · 8eadb3d7
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      include/myisam.h:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisam/sort.c:
        Auto merged
      8eadb3d7
    • unknown's avatar
      Correct view of sort.c and mi_too_big_key_for_sort() · 8be0230d
      unknown authored
      
      myisam/mi_check.c:
        Correct mi_too_big_key_for_sort()
      myisam/sort.c:
        Correct view, according rules
      8be0230d
    • unknown's avatar
      Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1 · 681418e4
      unknown authored
      into mysql.r18.ru:/usr/home/ram/mysql-4.1
      
      681418e4
    • unknown's avatar