1. 21 May, 2007 2 commits
  2. 18 May, 2007 1 commit
    • svoj@mysql.com/june.mysql.com's avatar
      BUG#28341 - Security issue still in library loading · e3f7947d
      svoj@mysql.com/june.mysql.com authored
      UDF can be created from any library in any part of the server
      LD_LIBRARY_PATH.
      
      Allow to load udfs only from plugin_dir.
      On windows, refuse to open udf in case it's path contains a slash.
      
      No good test case for this bug because of imperfect error message
      that includes error code and error string when it fails to dlopen a
      library.
      e3f7947d
  3. 17 May, 2007 6 commits
  4. 16 May, 2007 3 commits
  5. 14 May, 2007 1 commit
  6. 10 May, 2007 4 commits
  7. 09 May, 2007 1 commit
  8. 08 May, 2007 1 commit
  9. 07 May, 2007 10 commits
  10. 05 May, 2007 1 commit
  11. 04 May, 2007 10 commits
    • acurtis/antony@xiphis.org/ltamd64.xiphis.org's avatar
      WL#2936 · 0f0ef2fe
        Move copying of global variables into thd.variables into plugin_thdvar_init().
        plugin_thdvar_init() may be called multiple times when THD::change_user() is called.
        This fixes a plugin ref-count leak when running the test mysql_client_test
      0f0ef2fe
    • evgen@moonbone.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 68e5c1e6
      evgen@moonbone.local authored
      into  moonbone.local:/mnt/gentoo64/work/27759-bug-5.0-opt-mysql
      68e5c1e6
    • gkodinov/kgeorge@magare.gmz's avatar
      bug #27531: · 13e55b8a
      gkodinov/kgeorge@magare.gmz authored
       fixed coverage of out-of-mem errors
      13e55b8a
    • gkodinov/kgeorge@magare.gmz's avatar
      bug #27531: 5.1 part of the fix: · 306371a8
      gkodinov/kgeorge@magare.gmz authored
       - added join cache indication in EXPLAIN (Extra column).
       - prefer filesort over full scan over 
         index for ORDER BY (because it's faster).
       - when switching from REF to RANGE because
         RANGE uses longer key turn off sort on
         the head table only as the resulting 
         RANGE access is a candidate for join cache
         and we don't want to disable it by sorting
         on the first table only. 
      306371a8
    • evgen@moonbone.local's avatar
      Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions. · 239f727b
      evgen@moonbone.local authored
      The LEAST/GREATEST functions compared DATE/DATETIME values as
      strings which in some cases could lead to a wrong result.
      
      A new member function called cmp_datetimes() is added to the
      Item_func_min_max class. It compares arguments in DATETIME context
      and returns index of the least/greatest argument.
      The Item_func_min_max::fix_length_and_dec() function now detects when
      arguments should be compared in DATETIME context and sets the newly
      added flag compare_as_dates. It indicates that the cmp_datetimes() function
      should be called to get a correct result.
      Item_func_min_max::val_xxx() methods are corrected to call the
      cmp_datetimes() function when needed.
      Objects of the Item_splocal class now stores and reports correct original
      field type.
      239f727b
    • gkodinov/kgeorge@magare.gmz's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B27531-5.0-opt · 19b9c7a8
      gkodinov/kgeorge@magare.gmz authored
      into  magare.gmz:/home/kgeorge/mysql/work/B27531-5.1-opt-after-merge
      19b9c7a8
    • gkodinov/kgeorge@magare.gmz's avatar
      5b4448ef
    • istruewing@chilla.local's avatar
      WL#2936 - Falcon & MySQL plugin interface: server variables · a57260db
      istruewing@chilla.local authored
      Fix tests when InnoDB is not built-in. Innodb options would cause
      mysqld to abort with an error indicating that the option is unknown.
      Fix tests on Windows where mysql-test-run.pl was unable to probe
      mysqld for version and variables information, caused by output
      being redirected to a log file instead.
      a57260db
    • gkodinov/kgeorge@magare.gmz's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B27531-4.1-opt · cead246f
      gkodinov/kgeorge@magare.gmz authored
      into  magare.gmz:/home/kgeorge/mysql/work/B27531-5.0-opt
      cead246f
    • gkodinov/kgeorge@magare.gmz's avatar
      Bug #27531: the 4.1 fix. · d11e1f24
      gkodinov/kgeorge@magare.gmz authored
      When checking for applicability of join cache
      we must disable its usage only if there is no
      temp table in use.
      When a temp table is used we can use join
      cache (and it will not make the result-set 
      unordered) to fill the temp table. The filesort() 
      operation is then applied to the data in the temp 
      table and hence is not affected by join cache
      usage.
      Fixed by narrowing the condition for disabling 
      join cache to exclude the case where temp table
      is used.
      d11e1f24