~percona-dev/percona-server/5.1.57-partially-ported

« back to all changes in this revision

Viewing changes to sql_no_fcache.patch

  • Committer: Oleg Tsarev
  • Date: 2011-05-10 00:07:01 UTC
  • Revision ID: oleg.tsarev@percona.com-20110510000701-l08jx5er0g8ogi6w
Patches ported to 5.1.57
ATTENTION, ATTENTION, ATTENTION
!!!
Some parts of innodb_split_buf_pool_mutex.patch was removed (for apply another patches)
You should revert changes in this commit from patch and do their right

!!! 
innodb_lru_dump_restore.patch has some changes, what should be reviewed

!!!
mysql-test.diff - I removed part for "mysql-test/include/mtr_warnings.sql", should be restored and fixed

All other looks fine.

UNFORTUNATELY, MYSQL DOESN'T BUILD (Compilation error in InnoDB).

ATTENTION, ATTENTION, ATTENTION

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 /*
18
18
 Dynamic_string wrapper functions. In this file use these
19
19
 wrappers, they will terminate the process if there is
20
 
@@ -1512,6 +1514,17 @@
 
20
@@ -1518,6 +1520,17 @@
21
21
     /* Don't switch charsets for 4.1 and earlier.  (bug#34192). */
22
22
     server_supports_switching_charsets= FALSE;
23
23
   } 
35
35
   /*
36
36
     As we're going to set SQL_MODE, it would be lost on reconnect, so we
37
37
     cannot reconnect.
38
 
@@ -3175,7 +3188,12 @@
 
38
@@ -3181,7 +3194,12 @@
39
39
 
40
40
     /* now build the query string */
41
41
 
49
49
     dynstr_append_checked(&query_string, filename);
50
50
     dynstr_append_checked(&query_string, "'");
51
51
 
52
 
@@ -3225,7 +3243,12 @@
 
52
@@ -3231,7 +3249,12 @@
53
53
       check_io(md_result_file);
54
54
     }
55
55
     
168
168
 
169
169
 #ifndef DEFAULT_SKIP_THREAD_PRIORITY
170
170
 #define DEFAULT_SKIP_THREAD_PRIORITY 0
171
 
@@ -593,6 +598,11 @@
172
 
 ulong max_connections, max_connect_errors;
 
171
@@ -599,6 +604,11 @@
 
172
 ulong max_long_data_size;
173
173
 uint  max_user_connections= 0;
174
174
 ulonglong denied_connections = 0;
175
175
+
180
180
 /**
181
181
   Limit of the total number of prepared statements in the server.
182
182
   Is necessary to protect the server against out-of-memory attacks.
183
 
@@ -4391,6 +4401,97 @@
 
183
@@ -4397,6 +4407,97 @@
184
184
 }
185
185
 #endif//DBUG_OFF
186
186
 
278
278
 
279
279
 #ifdef __WIN__
280
280
 int win_main(int argc, char **argv)
281
 
@@ -4495,6 +4596,10 @@
 
281
@@ -4501,6 +4602,10 @@
282
282
   test_lc_time_sz();
283
283
 #endif
284
284
 
289
289
   /*
290
290
     We have enough space for fiddling with the argv, continue
291
291
   */
292
 
@@ -4696,6 +4801,10 @@
 
292
@@ -4702,6 +4807,10 @@
293
293
   clean_up_mutexes();
294
294
   my_end(opt_endinfo ? MY_CHECK_ERROR | MY_GIVE_INFO : 0);
295
295
 
300
300
   exit(0);
301
301
   return(0);                                   /* purecov: deadcode */
302
302
 }
303
 
@@ -7853,6 +7962,7 @@
 
303
@@ -7867,6 +7976,7 @@
304
304
   {"Delayed_errors",           (char*) &delayed_insert_errors,  SHOW_LONG},
305
305
   {"Delayed_insert_threads",   (char*) &delayed_insert_threads, SHOW_LONG_NOFLUSH},
306
306
   {"Delayed_writes",           (char*) &delayed_insert_writes,  SHOW_LONG},