~drizzle-developers/ubuntu/natty/drizzle/natty

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.h

Merged in latest source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
typedef struct st_innobase_share {
36
36
        THR_LOCK        lock;           /*!< MySQL lock protecting
37
37
                                        this structure */
38
 
        const char*     table_name;     /*!< InnoDB table name */
 
38
        char    table_name[FN_REFLEN];  /*!< InnoDB table name */
39
39
        uint            use_count;      /*!< reference count,
40
40
                                        incremented in get_share()
41
41
                                        and decremented in free_share() */
42
42
        void*           table_name_hash;/*!< hash table chain node */
 
43
 
 
44
        st_innobase_share(const char *arg) :
 
45
          use_count(0)
 
46
        {
 
47
          strncpy(table_name, arg, FN_REFLEN);
 
48
        }
 
49
 
43
50
} INNOBASE_SHARE;
44
51
 
45
52