diff options
author | Ashish Agarwal <ashish.y.agarwal@oracle.com> | 2011-09-27 17:38:51 +0530 |
---|---|---|
committer | Ashish Agarwal <ashish.y.agarwal@oracle.com> | 2011-09-27 17:38:51 +0530 |
commit | d8c68db1f19048558f96cda3c65170deb93c00f0 (patch) | |
tree | 0609c557ee598226869fb5fc1f1406679fc64c48 /include | |
parent | 3f5c0cc78b0eecabaa6e87ded0ccf5c2674fef7b (diff) | |
download | mariadb-git-d8c68db1f19048558f96cda3c65170deb93c00f0.tar.gz |
BUG#11759349 - 51655: CREATE TABLE IN MEMORY ENGINE DOESN'T STORE
CREATE_TIME IN INFORMATION_SC
It was impossible to determine MEMORY table creation time,
since it wasn't stored/exposed.
With this patch creation time is saved and it is available via
I_S.TABLES.CREATE_TIME.
Note: it was decided that additional analysis is required before
implementing UPDATE_TIME. Thus this patch doesn't store UPDATE_TIME.
Diffstat (limited to 'include')
-rw-r--r-- | include/heap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/heap.h b/include/heap.h index 0abdd71461e..7adaac33096 100644 --- a/include/heap.h +++ b/include/heap.h @@ -50,6 +50,7 @@ typedef struct st_heapinfo /* Struct from heap_info */ uint reclength; /* Length of one record */ int errkey; ulonglong auto_increment; + time_t create_time; } HEAPINFO; @@ -146,6 +147,7 @@ typedef struct st_heap_share uint open_count; uchar *del_link; /* Link to next block with del. rec */ char * name; /* Name of "memory-file" */ + time_t create_time; #ifdef THREAD THR_LOCK lock; pthread_mutex_t intern_lock; /* Locking for use with _locking */ |