1. 01 Feb, 2004 1 commit
    • unknown's avatar
      now all tables of query are locked in one place (including derived tables) · 68c0a299
      unknown authored
      fixed BUG#2120 and other problem with EXPLAINing derived tables
      
      
      mysql-test/r/derived.result:
        correct tables names & Co in derived tables
        test case for BUG#2120
      mysql-test/t/derived.test:
        test case for BUG#2120
      sql/mysql_priv.h:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables)
      sql/repl_failsafe.cc:
        correct initialization of TABLE_LIST
      sql/sql_acl.cc:
        used simple table opening without derived table processing to avoid unneeded initialization of SELECT_LEX
      sql/sql_base.cc:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables)
      sql/sql_delete.cc:
        all tables processing is done during opening
      sql/sql_derived.cc:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables) to sutisfy "all query tables locking" at the moment
      sql/sql_insert.cc:
        all tables processing is done during opening
        correct initialization of TABLE_LIST
      sql/sql_lex.cc:
        now table list will be created for whole query
        layout fix
        correct check of updated table in subqueries
      sql/sql_lex.h:
        now table list will be created for whole query
        correct check of updated table in subqueries
      sql/sql_olap.cc:
        THIS FUNCTION IS USED NOWHERE
        it will be good to remove it at all (handle_olaps)
      sql/sql_parse.cc:
        derived tables processing moved after open/locking all tables (in open_and_lock_tables)
      sql/sql_prepare.cc:
        new creating list parameters
        all tables processing is done during opening
      sql/sql_select.cc:
        all tables processing is done during opening
      sql/sql_select.h:
        now it used only within file where is defined
      sql/sql_udf.cc:
        used simple table opening without derived table processing to avoid unneeded initialization of SELECT_LEX
      sql/sql_update.cc:
        all tables processing is done during opening
      68c0a299
  2. 29 Jan, 2004 2 commits
  3. 28 Jan, 2004 3 commits
    • unknown's avatar
      Fixed Bug#2479, "dependant subquery with limit crash". · 735eab8a
      unknown authored
      The problem was that memory was free'd, but it was referenced
      later. This free was unneccessary anyway, because join_free() /
      JOIN::cleanup takes care of this later on.
      
      Added test case into t/subselect.test for it.
      
      Regards,
      Jani
      
      
      mysql-test/r/subselect.result:
        Added a test case for Bug#2479.
      mysql-test/t/subselect.test:
        Added a test case for Bug#2479.
      sql/sql_select.cc:
        Fixed Bug#2479, "dependant subquery with limit crash".
        The problem was that memory was free'd, but it was referenced
        later. This free was unneccessary anyway, because join_free() /
        JOIN::cleanup takes care of this later on.
      735eab8a
    • unknown's avatar
      Fixed a bug in GREATES() and LEAST() function, that caused a core · 96abffd4
      unknown authored
      dump when result was NULL.
      
      
      mysql-test/r/func_test.result:
        Added a test for GREATEST() and LEAST() core dump bug.
      mysql-test/t/func_test.test:
        Added a test for GREATEST() and LEAST() core dump bug.
      96abffd4
    • unknown's avatar
      Fix for #2210 (SHOW TABLE STATUS fails when .frm is corrupted) · d01e8101
      unknown authored
      We signed error instead of returning the result
      
      
      sql/sql_show.cc:
        we need this assignement in libmysqld to not to issue error
      d01e8101
  4. 27 Jan, 2004 4 commits
  5. 26 Jan, 2004 6 commits
  6. 24 Jan, 2004 3 commits
  7. 23 Jan, 2004 7 commits
    • unknown's avatar
      define name fixed · 7580623e
      unknown authored
      
      sql/lex.h:
        Wrong define name
      7580623e
    • unknown's avatar
      Error message added · 2e5dfc5e
      unknown authored
      2e5dfc5e
    • unknown's avatar
      Conflicts resolved · a6132c6f
      unknown authored
      
      sql/field.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      include/mysqld_error.h:
        merging
      sql/share/english/errmsg.txt:
        merging
      a6132c6f
    • unknown's avatar
      SCRUM · 87b3ca5f
      unknown authored
      WL#1163 (Make spatial code separable)
      fixes before the push
      
      
      include/my_global.h:
        Temporary place for these defines
      include/mysqld_error.h:
        ER_FEATURE_DISABLED definition
      sql/item_geofunc.cc:
        #ifdef HAVE_SPATIAL moved to the better place
      sql/share/english/errmsg.txt:
        Message for ER_FEATURE_DISABLED
      87b3ca5f
    • unknown's avatar
      Reverted an addition to be able to use ';' as a comment · 2320323a
      unknown authored
      starting character elsewhere than in the beginning of a line,
      because it affected some innodb options that had ';'
      in them.
      
      
      2320323a
    • unknown's avatar
      SCRUM · 214c178f
      unknown authored
      wl #1163 (Make spatial code optional)
      Patch I cleaned with Serg & Monty's suggestions
      
      
      sql/gen_lex_hash.cc:
        mysql_priv.h was included for SYM_GROUP declaration
      sql/lex.h:
        sym_group_xxx made global so we can use texts from them
        throughout the code
      sql/lex_symbol.h:
        SYM_GROUP declaration moved to mysql_priv.h
      sql/mysql_priv.h:
        declarations about SYM_GROUP
      sql/sql_table.cc:
        sym_group_xxx objects used instead of text constants
        a couple of HAVE_SPATIAL removed
      sql/sql_yacc.yy:
        sym_group_xxx used instead of text constants
        some duplicated code restructured
        MYF(0) parameters removed from net_printf calls
      214c178f
    • unknown's avatar
      patch reverted - USE_RAID is defined in my_config.h · acf9821b
      unknown authored
      
      mysql-test/r/derived.result:
        result updated
      acf9821b
  8. 22 Jan, 2004 5 commits
  9. 21 Jan, 2004 7 commits
  10. 20 Jan, 2004 2 commits
    • unknown's avatar
      Fix for #2278 (mysql_prepare and mysql_execute not exported in libmysqld.dll) · 53d6a088
      unknown authored
      Actually no PS-related methods were exported.
      Now they're in the libmysqld.def
      
      
      VC++Files/libmysqld/libmysqld.def:
        PS related methods added
      53d6a088
    • unknown's avatar
      Merge · c3cf3d28
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/derived.result:
        SCCS merged
      mysql-test/t/derived.test:
        e
        merge
      c3cf3d28