1. 31 Jan, 2007 3 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M50/bug23293-5.0 · 717850d3
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      717850d3
    • unknown's avatar
      Merge trift2.:/MySQL/M50/bug12676-5.0 · 30b90282
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      configure.in:
        Auto merged
      30b90282
    • unknown's avatar
      Fix bug#23293 "readline detection broken on NetBSD": · 7a71303c
      unknown authored
      Its root cause is a difference between the "readline" and "libedit" (header files)
      definitions of "rl_completion_entry_function", where the "libedit" one is wrong anyway:
      This variable is used as a pointer to a function returning "char *",
      but "libedit" declares it as returning "int" and then adds casts on usage.
      
      Change it to "CPFunction *" and get rid of the casts.
      
      
      client/mysql.cc:
        Fix bug#23293 "readline detection broken on NetBSD":
        
        Now that the "libedit" header files declares "rl_completion_entry_function" correctly,
        it need not be cast on usage, and "no_completion()" can be declared to return "char *".
      cmd-line-utils/libedit/readline.c:
        Fix bug#23293 "readline detection broken on NetBSD":
        
        Now that the "libedit" header files declares "rl_completion_entry_function" correctly,
        it need not be cast on usage, and "complet_func()" is a "CPFunction *" as well.
      cmd-line-utils/libedit/readline/readline.h:
        Fix bug#23293 "readline detection broken on NetBSD":
        
        Declare "rl_completion_entry_function()" to be a "CPFunction *", this avoids casts
        and brings "libedit" in sync with "readline".
      7a71303c
  2. 30 Jan, 2007 2 commits
    • unknown's avatar
      gen_lex_hash.cc: · 0142be55
      unknown authored
        If inserting a GPL header, include a complete one
      Makefile.am, mysql.dsw, mysql.sln:
        Removed C version of mysql-test-run
      mysql.spec.sh:
        Specify GPL license only in GPL sources
      .del-my_manage.h:
        Delete: mysql-test/my_manage.h
      mysql.spec.sh:
        Added GPL header
      .del-mysql_test_run_new.c:
        Delete: mysql-test/mysql_test_run_new.c
      .del-mysql_test_run_new.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new.dsp
      .del-my_create_tables.c:
        Delete: mysql-test/my_create_tables.c
      .del-mysql_test_run_new_ia64.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new_ia64.dsp
      msql2mysql.sh:
        Use up-to-date GPL header
      .del-mysql_test_run_new.vcproj:
        Delete: VC++Files/mysql-test/mysql_test_run_new.vcproj
      .del-my_manage.c:
        Delete: mysql-test/my_manage.c
      
      
      scripts/msql2mysql.sh:
        Use up-to-date GPL header
      support-files/mysql.spec.sh:
        Added GPL header
      sql/gen_lex_hash.cc:
        If inserting a GPL header, include a complete one
      BitKeeper/deleted/.del-mysql_test_run_new.c:
        Delete: mysql-test/mysql_test_run_new.c
      BitKeeper/deleted/.del-mysql_test_run_new.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new.dsp
      BitKeeper/deleted/.del-mysql_test_run_new.vcproj:
        Delete: VC++Files/mysql-test/mysql_test_run_new.vcproj
      BitKeeper/deleted/.del-mysql_test_run_new_ia64.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new_ia64.dsp
      BitKeeper/deleted/.del-my_create_tables.c:
        Delete: mysql-test/my_create_tables.c
      BitKeeper/deleted/.del-my_manage.c:
        Delete: mysql-test/my_manage.c
      BitKeeper/deleted/.del-my_manage.h:
        Delete: mysql-test/my_manage.h
      VC++Files/mysql.dsw:
        Removed C version of mysql-test-run
      VC++Files/mysql.sln:
        Removed C version of mysql-test-run
      mysql-test/Makefile.am:
        Removed C version of mysql-test-run
      0142be55
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work · 0fd19170
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work-25530
      
      
      0fd19170
  3. 26 Jan, 2007 1 commit
  4. 25 Jan, 2007 3 commits
    • unknown's avatar
      For Linux systems running RHEL 4 (which includes SE-Linux), we need to provide · 8ef50277
      unknown authored
      additional files that specify some actions which are allowed to the MySQL binaries.
          
      Create a new subdirectory "supportfiles/RHEL4-SElinux" for them, and process it.
      
      This fixes bug#12676.
      
      
      configure.in:
        New "support-files/RHEL4-SElinux/Makefile.am" must be processed by "automake" etc.
      support-files/Makefile.am:
        For Linux systems running RHEL 4 (which includes SE-Linux), we need to provide
        additional files that specify some actions which are allowed to the MySQL binaries.
        
        Create a new subdirectory "supportfiles/RHEL4-SElinux" for them, and process it.
      support-files/RHEL4-SElinux/Makefile.am:
        BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/Makefile.am
      support-files/RHEL4-SElinux/mysql.fc:
        BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/mysql.fc
      support-files/RHEL4-SElinux/mysql.te:
        BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/mysql.te
      8ef50277
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · ea41474b
      unknown authored
      into  mockturtle.local:/home/dlenev/src/mysql-5.0-merge
      
      
      ea41474b
    • unknown's avatar
      BUG#25530 --with-readline fails with commercial source packages · 6cfffb50
      unknown authored
      
      BUILD/SETUP.sh:
        BUG#25530 --with-readline fails with commercial source packages
        
        The compile-* scripts should not use --with-readline explicitly when no readline is present.
      configure.in:
        BUG#25530 --with-readline fails with commercial source packages
        
        Configuring --with-readline should fail when libreadline is not bundled.
        A system libreadline is only used when there is a bundled libreadline too, so the commercial source code isn't linked with GPL libreadline by accident.
      6cfffb50
  5. 24 Jan, 2007 22 commits
  6. 23 Jan, 2007 9 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines · 1f4d8ba0
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-bug24607
      
      
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      1f4d8ba0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 4bec8b03
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-bug24607
      
      
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      4bec8b03
    • unknown's avatar
      Post-merge fix. · 5d9d6493
      unknown authored
      5d9d6493
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-4.1-opt · 8dc8acbb
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      
      mysql-test/r/fulltext_left_join.result:
        Auto merged
      mysql-test/t/fulltext_left_join.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      8dc8acbb
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 964f502c
      unknown authored
      into  clam.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb
      
      
      964f502c
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · a7174850
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/bug25487
      
      
      a7174850
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime · 5f544ed0
      unknown authored
      into  mockturtle.local:/home/dlenev/src/mysql-5.0-bg24491
      
      
      sql/item.h:
        Auto merged
      mysql-test/r/ps.result:
        Manual merge.
      mysql-test/t/ps.test:
        Manual merge.
      5f544ed0
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG24401/mysql-4.1-engines · 2244a361
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG24401/mysql-5.0-engines
      
      
      myisam/mi_open.c:
        Auto merged
      2244a361
    • unknown's avatar
      Proposed fix for bug#24491 "using alias from source table in insert ... · 1dead07d
      unknown authored
      on duplicate key".
      
      INSERT ... SELECT ... ON DUPLICATE KEY UPDATE which was used in
      stored routine or as prepared statement and which in its ON DUPLICATE
      KEY clause erroneously tried to assign value to a column mentioned only
      in its SELECT part was properly emitting error on the first execution
      but succeeded on the second and following executions.
      
      Code which is responsible for name resolution of fields mentioned in
      UPDATE clause (e.g. see select_insert::prepare()) modifies table list
      and Name_resolution_context used in this process. It uses
      Name_resolution_context_state::save_state/restore_state() to revert
      these modifications. Unfortunately those two methods failed to revert
      properly modifications to TABLE_LIST::next_name_resolution_table
      and this broke name resolution process for successive executions.
      
      This patch fixes Name_resolution_context_state::save_state/restore_state()
      in such way that it properly handles TABLE_LIST::next_name_resolution_table.
      
      
      mysql-test/r/ps.result:
        Added test case for bug#24491 "using alias from source table in insert ...
        on duplicate key"
      mysql-test/r/sp-error.result:
        Added test case for bug#24491 "using alias from source table in insert ...
        on duplicate key"
      mysql-test/t/ps.test:
        Added test case for bug#24491 "using alias from source table in insert ...
        on duplicate key"
      mysql-test/t/sp-error.test:
        Added test case for bug#24491 "using alias from source table in insert ...
        on duplicate key"
      sql/item.h:
        Name_resolution_context::save_state/restore_state():
          At the moment these methods are used only by code implementing
          INSERT and INSERT ... SELECT statements. This code doesn't modify
         'next_name_resolution_table' member of table list element
          corresponding to the first table of SELECT clause (pointed by
          'first_name_resolution_table'). But it modifies table list element
          corresponding to the target table of INSERT (pointed by 'table_list')
          So these methods were changed to reflect this.
      1dead07d