summaryrefslogtreecommitdiff
path: root/sql/sql_priv.h
diff options
context:
space:
mode:
authorNuno Carvalho <nuno.carvalho@oracle.com>2012-10-21 20:34:41 +0100
committerNuno Carvalho <nuno.carvalho@oracle.com>2012-10-21 20:34:41 +0100
commit700b24db62412a071107a927c0fd0c3304826a21 (patch)
treecbe3283cd048bf31b4ac2bd234a70bcb8c604a6e /sql/sql_priv.h
parentc752059eb250874ff52967b334e03ba410ece702 (diff)
parent62503f9cf5af989107e887925816add9b4aec950 (diff)
downloadmariadb-git-700b24db62412a071107a927c0fd0c3304826a21.tar.gz
BUG#14629727: USER_VAR_EVENT IS MISSING RANGE CHECKS
Merge from mysql-5.1 into mysql-5.5.
Diffstat (limited to 'sql/sql_priv.h')
-rw-r--r--sql/sql_priv.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h
index 6bc34d611bc..970b921d6e6 100644
--- a/sql/sql_priv.h
+++ b/sql/sql_priv.h
@@ -166,10 +166,6 @@ template <class T> T available_buffer(const char* buf_start,
{
return buf_len - (buf_current - buf_start);
}
-/* Explicit instantion to unsigned int. */
-template unsigned int available_buffer<unsigned int>(const char*,
- const char*,
- unsigned int);
/*
Check if jump value is within buffer limits.
@@ -189,11 +185,6 @@ template <class T> bool valid_buffer_range(T jump,
{
return (jump <= available_buffer(buf_start, buf_current, buf_len));
}
-/* Explicit instantion to unsigned int. */
-template bool valid_buffer_range<unsigned int>(unsigned int,
- const char*,
- const char*,
- unsigned int);
/* The rest of the file is included in the server only */
#ifndef MYSQL_CLIENT