Changeset 35049
- Timestamp:
- 08/26/09 04:45:45 (4 years ago)
- Files:
-
- 1 modified
-
platform/mysql/mycached/trunk/mycached.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/mysql/mycached/trunk/mycached.cc
r35048 r35049 40 40 static cac_mutex_t<mycached_server_info> server_info_(NULL); 41 41 42 inline void setup_thd(THD** thd) { 42 inline void setup_thd(THD* thd) { 43 char dummy; 43 44 my_thread_init(); 44 (*thd)->thread_stack = (char*)thd;45 (*thd)->store_globals();46 lex_start( *thd);47 (*thd)->db = my_strdup("mysql", MYF(0));48 (*thd)->db_length = 5;45 thd->thread_stack = &dummy; 46 thd->store_globals(); 47 lex_start(thd); 48 thd->db = my_strdup("mysql", MYF(0)); 49 thd->db_length = 5; 49 50 } 50 51 … … 356 357 thread_t::event_loop() 357 358 { 358 setup_thd( &thd_);359 setup_thd(thd_); 359 360 360 361 // main loop
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)