~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-09-19 22:22:14 UTC
  • mfrom: (1775.4.4 trunk)
  • Revision ID: brian@tangent.org-20100919222214-sme2je0fxo3gdtkh
Rollup of a outstanding merge requests.

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