3159 kevin.lewis@stripped 2010-07-12
WL#4034 - Add a a constructor to explicitly set m_object_state.
modified:
sql/table_share_builder.cc
sql/table_share_builder.h
3158 kevin.lewis@stripped 2010-07-09
WL#4034 - Move the table_space_builder code from infoschema_base to
its own file and add to the sql project so that other storage engines can
use this code as part of using the new discovery method.
Renamed that new discovery from handlerton::discover_volatile to
::discover_without_frm() to reflect a more exact differentiation from
::discover()
sql_show.cc and sql_db.cc - code cleanup for clarity and ease of debugging.
added:
sql/table_share_builder.cc
sql/table_share_builder.h
modified:
sql/CMakeLists.txt
sql/Makefile.am
sql/handler.cc
sql/handler.h
sql/sql_db.cc
sql/sql_show.cc
storage/infoschema/ha_infoschema.cc
storage/infoschema/infoschema_base.cc
storage/infoschema/infoschema_base.h
=== modified file 'sql/table_share_builder.cc'
--- a/sql/table_share_builder.cc 2010-07-09 19:03:58 +0000
+++ b/sql/table_share_builder.cc 2010-07-12 15:48:26 +0000
@@ -35,6 +35,12 @@
#include "sql_base.h"
#include "table_share_builder.h"
+table_share_builder::table_share_builder()
+{
+ m_object_state= UNINITIALIZED;
+}
+
+
int table_share_builder::initialize(const char *db_name,
const char *table_name,
const char *table_comment,
=== modified file 'sql/table_share_builder.h'
--- a/sql/table_share_builder.h 2010-07-09 19:03:58 +0000
+++ b/sql/table_share_builder.h 2010-07-12 15:48:26 +0000
@@ -52,8 +52,7 @@ enum table_share_builder_states
class table_share_builder
{
public:
- table_share_builder()
- {}
+ table_share_builder();
~table_share_builder()
{}
Attachment: [text/bzr-bundle] bzr/kevin.lewis@oracle.com-20100712154826-3vq1c3c5irw4537s.bundle
| Thread |
|---|
| • bzr push into mysql-next-mr branch (kevin.lewis:3158 to 3159) WL#4034 | kevin.lewis | 12 Jul |