1. 25 Nov, 2004 6 commits
    • unknown's avatar
      do not leave sql command uninitialized, because it used for detection need of... · a0f2ecf7
      unknown authored
      do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing  during finding identifiers i
      
      
      sql/sql_lex.h:
        do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing  during finding identifiers in table list (alias resolving tracking)
      a0f2ecf7
    • unknown's avatar
      spelling fixed/comments added (postreview fixes) · 7108deee
      unknown authored
      
      sql/mysqld.cc:
        spelling fixed
      sql/sql_base.cc:
        spelling fixed
      sql/sql_delete.cc:
        spelling fixed
      sql/sql_parse.cc:
        comments added
      sql/sql_prepare.cc:
        comments added
      sql/sql_update.cc:
        spelling fixed
      sql/sql_view.cc:
        spelling fixed
      sql/table.cc:
        spelling fixed
      7108deee
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · a3523721
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-join-5.0
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.h:
        Auto merged
      a3523721
    • unknown's avatar
      post-merge fix · f88d0193
      unknown authored
      
      mysql-test/r/view.result:
        changes in error number, and key in view processing
      mysql-test/t/view.test:
        changes in error number, and key in view processing
      sql/mysql_priv.h:
        changes functions
      sql/sp.cc:
        now we report to setup_tables(), are we setuping SELECT...INSERT
      sql/sql_base.cc:
        fixed finding table, taking in account join view, which can have not TABLE pointer
        now we report to setup_tables(), are we setuping SELECT...INSERT and ennumerete insert table separately
      sql/sql_delete.cc:
        now we report to setup_tables(), are we setuping SELECT...INSERT
      sql/sql_help.cc:
        now we report to setup_tables(), are we setuping SELECT...INSERT
      sql/sql_insert.cc:
        fixed returning value of functions
      sql/sql_load.cc:
        now we report to setup_tables(), are we setuping SELECT...INSERT
        removed second setup_tables call (merge)
      sql/sql_olap.cc:
        now we report to setup_tables(), are we setuping SELECT...INSERT
      sql/sql_parse.cc:
        UPDATE->MULTIUPDATE switching fixed
      sql/sql_prepare.cc:
        UPDATE->MULTIUPDATE switching fixed
      sql/sql_select.cc:
        now we report to setup_tables(), are we setuping SELECT...INSERT
      sql/sql_update.cc:
        UPDATE->MULTIUPDATE switching fixed
      sql/sql_view.cc:
        returning value fixed
      sql/sql_view.h:
        returning value fixed
      f88d0193
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 00899088
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      
      00899088
    • unknown's avatar
      sql_select.cc: · 9c03e9cf
      unknown authored
        my_message_sql does not tolerate a NullS argument (segfault)
      
      
      sql/sql_select.cc:
        my_message_sql does not tolerate a NullS argument (segfault)
      9c03e9cf
  2. 24 Nov, 2004 34 commits
    • unknown's avatar
      lowercase_table3.result: · b23fe2ac
      unknown authored
        Correct InnoDB's result output in test; the pseudo-file-extension for InnoDB tables '.InnoDB' was replaced by a more realistic '.ibd' extension
      
      
      mysql-test/r/lowercase_table3.result:
        Correct InnoDB's result output in test; the pseudo-file-extension for InnoDB tables '.InnoDB' was replaced by a more realistic '.ibd' extension
      b23fe2ac
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · d7cfa0fe
      unknown authored
      into avenger.(none):/export/brian/mysql/merge/5.0
      
      
      d7cfa0fe
    • unknown's avatar
      Merging 4.1 to 5.0 · 80282a94
      unknown authored
      
      Build-tools/Do-compile:
        Auto merged
      client/Makefile.am:
        Auto merged
      client/mysqladmin.cc:
        Auto merged
      configure.in:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Resolved NDB conflict between 4.1 and 5.0
      80282a94
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · aea5560b
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
      
      
      aea5560b
    • unknown's avatar
      A fix. Why didn't we use UINT_MAX32? · 0f61fec4
      unknown authored
      0f61fec4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 239cdc27
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/table.h:
        Auto merged
      239cdc27
    • unknown's avatar
      fixed problem in MacOS · c774eb0e
      unknown authored
      correct printing of aliases
      
      
      mysql-test/r/lowercase_view.result:
        aliases in VIEWs
      mysql-test/t/lowercase_view.test:
        aliases in VIEWs
      sql/item.cc:
        tracking using aliases in indentifiers
      sql/item.h:
        tracking using aliases in indentifiers
      sql/sql_base.cc:
        tracking using aliases in indentifiers
      sql/sql_lex.cc:
        tracking using aliases in indentifiers
      sql/sql_lex.h:
        tracking using aliases in indentifiers
      sql/table.h:
        tracking using aliases in indentifiers
      c774eb0e
    • unknown's avatar
      configure.in: · c3272ae7
      unknown authored
        Fix linking error in 5.0: the build system for Linux/S390 does not have inlining working in the compiler; remove inlining on that system
      
      
      innobase/configure.in:
        Fix linking error in 5.0: the build system for Linux/S390 does not have inlining working in the compiler; remove inlining on that system
      c3272ae7
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 18596521
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      18596521
    • unknown's avatar
      added explanation of error code 4335 · 2f36bf74
      unknown authored
      2f36bf74
    • unknown's avatar
      Merge from 4.0 for immediate use in the current 5.0 builds. · a806cba3
      unknown authored
      
      client/mysqladmin.cc:
        Auto merged
      Build-tools/Do-compile:
        Merged the default "--force" for the call to 'mysql-test-run' from 4.0, for immediate use in the current 5.0 builds.
      a806cba3
    • unknown's avatar
      Fixed bug related to lower case table names on Power Mac · 3392e317
      unknown authored
      'information_schema' test is splitted because of innodb  
      
      
      mysql-test/r/information_schema.result:
        Test is splitted because of innodb
      mysql-test/t/information_schema.test:
        Test is splitted because of innodb
      sql/sql_show.cc:
        Fixed bug related to lower case table names on Power Mac
      sql/table.h:
        Fixed bug related to lower case table names on Power Mac
      tests/client_test.c:
        Don't check field length for blob filed
      3392e317
    • unknown's avatar
      03cba628
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 232bbfda
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      232bbfda
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · b760bfd7
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      b760bfd7
    • unknown's avatar
      also backup needs triggers · f4db89ea
      unknown authored
      f4db89ea
    • unknown's avatar
      calculation of noOfTriggers · 61dbdff2
      unknown authored
      61dbdff2
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 1634ecf2
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      1634ecf2
    • unknown's avatar
      bug#6775 - ndb · 98de7e01
      unknown authored
      Queue scan on real fragment.
        Index fragment for range scans
        Table fragment for table scans
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Document meaning of fragPtrI and how it differs
          from scanTcRec->fragmentptr
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Queue scan on real fragment.
          Index fragment for range scans
          Table fragment for table scans
      ndb/src/ndbapi/NdbConnection.cpp:
        Check tOp before assigning
      98de7e01
    • unknown's avatar
      Merge mysql.com:/M40/mysql-4.0 into mysql.com:/M41/mysql-4.1 · dcfd4e41
      unknown authored
      
      client/mysqladmin.cc:
        Auto merged
      dcfd4e41
    • unknown's avatar
      Ensure consistent sources up to 5.0 where a C++ problem occurs. · 55ea7c8b
      unknown authored
      
      client/mysqladmin.c:
        Cast to overcome a C vs. C++ signature problem, occurring in 5.0 where this is a C++ file.
      55ea7c8b
    • unknown's avatar
      15edb7fc
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 81a18750
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      81a18750
    • unknown's avatar
      Merged 4.0 change into 4.1 · 4221f04a
      unknown authored
      
      Build-tools/Do-compile:
        Merged new default "--force" (can be switched off using "--one-error") from 4.0 into 4.1
      4221f04a
    • unknown's avatar
      merge error · 3a56452c
      unknown authored
      3a56452c
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/wl2077 · 8998e128
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      8998e128
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 3d52cdef
      unknown authored
      into mysql.com:/home/jonas/src/wl2077
      
      
      3d52cdef
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 85593e90
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-bg5888
      
      
      85593e90
    • unknown's avatar
      ndb - 4.1.8 is not online software upgradable with 4.1.7 (due to close scan optimizations) · 1b9ea9b3
      unknown authored
      
      ndb/src/common/util/version.c:
        4.1.8 is not online software upgradable with 4.1.7 (due to close scan optimizations)
      1b9ea9b3
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · e0ec1f16
      unknown authored
      into mysql.com:/home/jonas/src/wl2077
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      e0ec1f16
    • unknown's avatar
      A small cleanup in sql_select.h · dfd6ebb1
      unknown authored
      
      sql/sql_select.h:
        Remove double assingment of fields_list.
      dfd6ebb1
    • unknown's avatar
      uca-dump.c: · 135cdcef
      unknown authored
        Use less wide spaces on the primary level,
        to avoid big diff for ctype-uca.c.
      
      
      strings/uca-dump.c:
        Use less wide spaces on the primary level,
        to avoid big diff for ctype-uca.c.
      135cdcef
    • unknown's avatar
      Fix for bug #5888 "Triggers with nonexistent columns cause packets · c3da2d12
      unknown authored
      out of order". (final version)
      
      Now instead of binding Item_trigger_field to TABLE objects during
      trigger definition parsing at table open, we perform pass through
      special list of all such objects in trigger. This allows easily check
      all references to fields in old/new version of row in trigger during
      execution of CREATE TRIGGER statement (this is more courtesy for users
      since we can't check everything anyway).
      We also report that such reference is bad by returning error from
      Item_trigger_field::fix_fields() method (instead of setup_field())
      This means that if trigger is broken we will bark during trigger
      execution instead of trigger definition parsing at table open.
      (i.e. now we allow to open tables with broken triggers).
      
      
      mysql-test/r/trigger.result:
        Added test which attempts to create trigger for table referencing to
        field which does not exist in this table.
      mysql-test/t/trigger.test:
        Added test which attempts to create trigger for table referencing to
        field which does not exist in this table.
      sql/item.cc:
        Item_trigger_field::setup_field() now returns void. If any error
        will occur we will report it at fix_fields() stage.
      sql/item.h:
        Item_trigger_field:
        - Added next_trg_field member for linking all such objects in trigger
          in one list.
        - Also setup_field() now returns void. If any error will occur we will
          report it at fix_fields() stage.
      sql/mysql_priv.h:
        Added SQL_LIST::push_back() method which allows to add another SQL_LIST
        to the end of this SQL_LIST.
      sql/sp_head.cc:
        sp_head::init()/reset_lex()/restore_lex():
         In order to fill global LEX::trg_table_fields (list of all 
         Item_trigger_field objects for trigger) we should init the same list
         in LEX of substatement before its parsing and merge it to global list
         after parsing.
      sql/sp_head.h:
        sp_instr_trigger_field:
          Made trigger_field member public to be able to add it more easily to
          global list of all Item_trigger_field objects in trigger.
      sql/sql_lex.cc:
        LEX::trg_table was removed.
      sql/sql_lex.h:
        Now we are binding Item_trigger_field's to TABLE object by passing
        through specially constructed list of all such objects in this trigger
        instead of doing this during trigger definition parsing at table open.
        So we no longer need LEX::trg_table, we use LEX::trg_table_fields list
        instead.
      sql/sql_parse.cc:
        mysql_execute_command():
          Since now we use trigger body for some checks in
          mysql_create_or_drop_trigger() we should destroy it only
          after calling this function.
      sql/sql_trigger.cc:
        Now instead of binding Item_trigger_field to TABLE objects during
        trigger definition parsing at table open, we perform pass through
        special list of all such objects in trigger. This allows easily check
        all references to fields in old/new version of row in trigger during
        execution of CREATE TRIGGER statement (this is more courtesy for users
        since we can't check everything anyway).
        We also report that such reference is bad by returning error from
        Item_trigger_field::fix_fields() method (instead of setup_field())
        This means that if trigger is broken we will bark during trigger
        execution instead of trigger definition parsing at table open.
        (i.e. now we allow to open tables with broken triggers).
        
        Table_triggers_list::prepare_old_row_accessors() method was added to be
        able to reuse code creating Field objects referencing TABLE::record[1]
        buffer instead of TABLE::record[0].
      sql/sql_trigger.h:
        Added Table_triggers_list::prepare_old_row_accessors() method to be
        able to reuse code creating Field objects referencing to TABLE::record[1]
        instead of record[0].
      sql/sql_yacc.yy:
        Now instead of performing binding of Item_trigger_field objects
        to TABLE object during trigger definition parsing at table open,
        we perform this binding by passing through specially constructed
        list of all such items in trigger.
        We also check value returned from memory allocation functions.
      c3da2d12
    • unknown's avatar
      ndb - Add testcase to autotest · e26a5dbc
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print on state on rare crash
      ndb/test/run-test/daily-basic-tests.txt:
        more test cases
      e26a5dbc