An error occurred fetching the project authors.
  1. 18 Jan, 2007 1 commit
    • unknown's avatar
      Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces · e1e62795
      unknown authored
      - Create space safe strings for system() calls in mysql_upgrade.exe
      
      
      client/mysql_upgrade.c:
        Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
        - Make use of new dynstr_append_os_quoted function to produce a string safe for
        passing to the system() function.                                              
        - Refactor possible source of assertion.
      include/my_sys.h:
        Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
        - Declare dynstr_append_os_quoted function.
      mysys/string.c:
        Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
        - Define dynstr_append_os_quoted function.  This function will concatenate any 
        number of strings, escapes any OS quote in the result then surround the whole  
        affair in another set of quotes which is finally appended to specified         
        DYNAMIC_STRING.
      e1e62795
  2. 23 Nov, 2006 2 commits
  3. 20 Nov, 2006 1 commit
    • unknown's avatar
      Port mysql_upgrade to be tested on windows · 6dc8ce06
      unknown authored
      client/mysql_upgrade.c:
        Send error messages to stderr
        Add new define EXTRA_CLIENT_PATHS containing additional paths where
        to look for the client binaries
      6dc8ce06
  4. 13 Nov, 2006 1 commit
    • unknown's avatar
      Make it possible for .test suites to run "mysql_upgrade" · 6bf12567
      unknown authored
      Add new test file mysql_upgrade.test
      
      
      BitKeeper/deleted/.del-abi_check.ic:
        Rename: include/abi_check.ic -> BitKeeper/deleted/.del-abi_check.ic
      client/mysql_upgrade.c:
        Make mysql_upgrade search also in "client" dir so it can be run from a source dist.
      mysql-test/mysql-test-run.pl:
        Make it possible for .test scripts to run "mysql_upgrade"
      mysql-test/r/mysql_upgrade.result:
        New BitKeeper file ``mysql-test/r/mysql_upgrade.result''
      mysql-test/t/mysql_upgrade.test:
        New BitKeeper file ``mysql-test/t/mysql_upgrade.test''
      6bf12567
  5. 10 Nov, 2006 1 commit
  6. 08 Nov, 2006 2 commits
    • unknown's avatar
      Fix warnings and NetWare compile failure · 1c168f30
      unknown authored
      client/mysql_upgrade.c:
        Fix NetWare problem - illegal cast of "const char*" to "char*"
        Fix warning, init "mystat" in  FILEINFO to NULL
        Fix warning, remove unused variable "i"
      1c168f30
    • unknown's avatar
      BUG#20100 fix: mysql_upgrade modified to also accept all · da368938
      unknown authored
      the communication parameters from the command line
      and pass 'em correctly to both mysqlcheck and mysql
      
      
      client/mysql_upgrade.c:
        Now mysql_upgrade passes all the parameters specified on 
        the command line to both mysqlcheck and mysql through 
        the upgrade_defaults file
      da368938
  7. 15 Sep, 2006 1 commit
    • unknown's avatar
      Bug#21011 The [client] group header was overwritten by "password" option in... · e5a1c525
      unknown authored
      Bug#21011 The [client] group header was overwritten by "password" option in upgrade_defaults file which confused mysqlcheck thus used to prevent the whole thing from running correctly when the "--password=" option is specified on mysql_upgrade command line with no corresponding "--user=" option
      
      
      client/mysql_upgrade.c:
        The "password" option should be issued after group header to upgrade_defaults file whenever it is used
      e5a1c525
  8. 11 Aug, 2006 1 commit
    • unknown's avatar
      Bug#21224: mysql_upgrade uses possibly insecure temporary files · 0f755f2f
      unknown authored
      We open for writing a known location, which is exploitable with a symlink
      attack.  Now, use the EXCLusive flag, so that the presence of anything at 
      that location causes a failure.  Try once to open safely, and if failure 
      then remove that location and try again to open safely.  If both fail, then
      raise an error.
      
      
      client/mysql_upgrade.c:
        Open the file with the O_EXCL flag, so that a symlink attack would not work.
        
        If opening it fails, try removing something at that location, and try again.
        If the second time fails, then abort as previous.
      0f755f2f
  9. 21 Jul, 2006 1 commit
  10. 03 Jul, 2006 1 commit
  11. 02 May, 2006 1 commit
  12. 01 May, 2006 1 commit
    • unknown's avatar
      Fix for Win build · 7e521f1e
      unknown authored
      BitKeeper/etc/ignore:
        Added client/mysql_upgrade to the ignore list
      client/mysql_upgrade.c:
        fixed for Win build
      include/config-win.h:
        fixed for Win build
      7e521f1e
  13. 28 Apr, 2006 1 commit
    • unknown's avatar
      bug #18115 (mysql_upgrade on Windows) · c15feedd
      unknown authored
      pushed in 5.0
      
      
      VC++Files/mysql.dsw:
        mysql_upgrade tool added
      VC++Files/mysql.sln:
        mysql_upgrade tool added
      VC++Files/mysql_ia64.dsw:
        mysql_upgrade tool added
      client/Makefile.am:
        mysql_upgrade tool added
      c15feedd