MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
vasil 22ecced647 branches/zip:
Merge 2537:2605 from branches/5.1:

  ------------------------------------------------------------------------
  r2545 | vasil | 2008-07-25 17:24:23 +0300 (Fri, 25 Jul 2008) | 37 lines
  Changed paths:
     M /branches/5.1/handler/ha_innodb.cc
  
  branches/5.1:
  
  Fix Bug#38185 ha_innobase::info can hold locks even when called with HA_STATUS_NO_LOCK
  
  The fix is to call fsp_get_available_space_in_free_extents() from
  ha_innobase::info() only if HA_STATUS_NO_LOCK is not present in the flag
  *AND*
  change get_schema_tables_record() in MySQL's sql/sql_show.cc to call
  ::info() *without* HA_STATUS_NO_LOCK whenever a user issues SELECT FROM
  information_schema.tables;
  
  Without the change to sql/sql_show.cc this patch would lead to Bug#32440
  resurfacing. I.e. delete_length would never be updated in ::info() and
  will remain 0 forever, resulting in the free space not being shown
  anywhere.
  
  This is the change to sql/sql_show.cc for reference, it needs to be
  committed to the MySQL repo before or at the same time with this change
  to ha_innodb.cc:
  
   --- patch begins here ---
   --- sql/sql_show.cc.orig	2008-07-23 09:32:14.000000000 +0300
   +++ sql/sql_show.cc	2008-07-23 09:32:19.000000000 +0300
   @@ -3549,8 +3549,7 @@ static int get_schema_tables_record(THD 
    
        if(file)
        {
   -      file->info(HA_STATUS_VARIABLE | HA_STATUS_TIME | HA_STATUS_AUTO |
   -                 HA_STATUS_NO_LOCK);
   +      file->info(HA_STATUS_VARIABLE | HA_STATUS_TIME | HA_STATUS_AUTO);
          enum row_type row_type = file->get_row_type();
          switch (row_type) {
          case ROW_TYPE_NOT_USED:
   --- patch ends here ---
  
  Approved by:	Heikki
  
  ------------------------------------------------------------------------
  r2603 | marko | 2008-08-21 16:25:05 +0300 (Thu, 21 Aug 2008) | 10 lines
  Changed paths:
     M /branches/5.1/handler/ha_innodb.cc
     M /branches/5.1/include/ha_prototypes.h
     M /branches/5.1/row/row0sel.c
  
  branches/5.1: Identify SELECT statements by thd_sql_command() == SQLCOM_SELECT
  instead of parsing the query string.  This fixes MySQL Bug #37885 without
  us having to implement lexical analysis of SQL comments in yet another place.
  
  thd_is_select(): A new predicate.
  
  row_search_for_mysql(): Use thd_is_select().
  
  Approved by Heikki.
  
  ------------------------------------------------------------------------
2008-08-21 14:23:46 +00:00
btr branches/zip: 2008-08-07 13:47:44 +00:00
buf branches/zip: Introduce UNIV_LRU_DEBUG for debugging the LRU buffer pool 2008-08-18 18:28:20 +00:00
data branches/zip: Implement the configuration parameter and settable global 2008-03-10 11:05:32 +00:00
dict branches/zip: Minor cleanup. 2008-08-21 10:56:01 +00:00
dyn branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
eval branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
fil branches/zip: 2008-05-16 14:41:18 +00:00
fsp branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
fut branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
ha branches/zip: Merge 2489:2524 from branches/5.1: 2008-07-01 06:53:40 +00:00
handler branches/zip: 2008-08-21 14:23:46 +00:00
ibuf branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
include branches/zip: 2008-08-21 14:23:46 +00:00
lock branches/zip: Merge 2489:2524 from branches/5.1: 2008-07-01 06:53:40 +00:00
log branches/zip: Rename ib_ulonglong to ib_uint64_t and ib_longlong to ib_int64_t. 2008-03-17 14:19:04 +00:00
mach branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
mem branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
mtr branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
mysql-test branches/zip: The test for issue#36 assumed that AUTOCOMMIT=OFF. Add an 2008-07-21 08:43:54 +00:00
os branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
page branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
pars branches/zip: make_flex.sh, lexyy.c: Remove some GCC warnings about unused 2008-02-07 10:03:54 +00:00
que branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
read branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
rem branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
row branches/zip: 2008-08-21 14:23:46 +00:00
scripts Rename install_dynamic.sql to install_innodb_plugins.sql 2008-04-30 07:02:16 +00:00
srv branches/zip: Fix typo in comment. 2008-08-09 00:53:28 +00:00
sync branches/zip: Add a clarifying comment to the insert buffer mutex/lock 2008-06-17 19:32:18 +00:00
thr branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
trx branches/zip: 2008-08-07 10:59:49 +00:00
usr branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
ut branches/zip: Merge 2437:2485 from branches/5.1: 2008-06-06 15:24:58 +00:00
ChangeLog branches/zip: 2008-06-09 10:27:39 +00:00
CMakeLists.txt branches/zip: Merge 2295:2367 from branches/5.1. 2008-03-17 14:09:44 +00:00
compile-innodb branches/zip: Merge revisions 767:789 from trunk. 2006-09-04 19:47:47 +00:00
compile-innodb-debug branches/zip: Merge revisions 767:789 from trunk. 2006-09-04 19:47:47 +00:00
Makefile.am branches/zip: Merge 2423:2437 from branches/5.1: 2008-04-30 16:59:16 +00:00
plug.in branches/zip: Merge 2423:2437 from branches/5.1: 2008-04-30 16:59:16 +00:00
revert_gen.sh branches/zip: Merge revisions 265:459 from trunk. 2006-04-12 09:32:17 +00:00
setup.sh branches/zip: Merge 2015:2093 from trunk. 2007-11-16 13:57:27 +00:00