summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-02-25 17:46:30 +0200
committermonty@mysql.com <>2006-02-25 17:46:30 +0200
commit54274976e7b4a9a28e94a6f0b4f8d064140248db (patch)
tree563e06651e9166da59ba432a876beee5175b6229 /sql/sp_rcontext.h
parenta7df038d168889ae3ba8e81f6303c779c0707fae (diff)
downloadmariadb-git-54274976e7b4a9a28e94a6f0b4f8d064140248db.tar.gz
Fixed compiler warnings from gcc 4.0.2:
- Added empty constructors and virtual destructors to many classes and structs - Removed some usage of the offsetof() macro to instead use C++ class pointers
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index c3c05228eef..e7393902e72 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -268,6 +268,7 @@ class Select_fetch_into_spvars: public select_result_interceptor
List<struct sp_pvar> *spvar_list;
uint field_count;
public:
+ Select_fetch_into_spvars() {} /* Remove gcc warning */
uint get_field_count() { return field_count; }
void set_spvar_list(List<struct sp_pvar> *vars) { spvar_list= vars; }