summaryrefslogtreecommitdiff
path: root/sql/sql_array.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-07 17:11:19 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-07 17:11:19 +0200
commit8980e67693c8f011200bc3924f5a8fc914aecc51 (patch)
treea5197cf5e0a9306f9956abc570dba0b45cb1e3d1 /sql/sql_array.h
parent69ba585a1e8a0ea52c3bced2a40311d75009e5d0 (diff)
downloadmariadb-git-8980e67693c8f011200bc3924f5a8fc914aecc51.tar.gz
* use Dynamic_array<> instead of List<> for the list of found tables in sql_show.cc
* make find_files static
Diffstat (limited to 'sql/sql_array.h')
-rw-r--r--sql/sql_array.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_array.h b/sql/sql_array.h
index f07126bc0ef..f788b71a785 100644
--- a/sql/sql_array.h
+++ b/sql/sql_array.h
@@ -124,6 +124,11 @@ public:
return (insert_dynamic(&array, (uchar*)&el));
}
+ bool append_val(Elem el)
+ {
+ return (insert_dynamic(&array, (uchar*)&el));
+ }
+
int elements()
{
return array.elements;