summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorunknown <jcole@tetra.spaceapes.com>2001-01-29 23:27:33 -0600
committerunknown <jcole@tetra.spaceapes.com>2001-01-29 23:27:33 -0600
commitdb51afdf53f7bfd1fc445e481822b2acaef9dfb2 (patch)
tree8653d599b95ded44142f502d09a872121c0f40f9 /sql/table.cc
parent040f0c0d0f85ca0fd3a045824568ba684acacc4e (diff)
downloadmariadb-git-db51afdf53f7bfd1fc445e481822b2acaef9dfb2.tar.gz
Fixed brain-o in sql/table.cc that broke build.
check_db_name() referenced a non-existant variable. sql/table.cc: Fixed brain-o.
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 8ee6ee02d68..b6fde659cd9 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -1033,7 +1033,7 @@ char *get_field(MEM_ROOT *mem, TABLE *table, uint fieldnr)
bool check_db_name(const char *name)
{
- const char *start=end;
+ const char *start=name;
while (*name)
{
#if defined(USE_MB) && defined(USE_MB_IDENT)