summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <timour@mysql.com>2004-11-02 20:11:00 +0200
committerunknown <timour@mysql.com>2004-11-02 20:11:00 +0200
commitc7bfc95936d8b0a1395c201da7956f4c4e8f4927 (patch)
tree06c5a4c3b8e3da646ccd731aca72c8c645bc8483
parent048d731a3112e5745038f422da3f1a5c1fadde81 (diff)
downloadmariadb-git-c7bfc95936d8b0a1395c201da7956f4c4e8f4927.tar.gz
fixed spelling
-rw-r--r--sql/sql_base.cc11
-rw-r--r--sql/sql_select.cc2
2 files changed, 7 insertions, 6 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index a8a44205b64..9f9b9b4ed63 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -2187,7 +2187,7 @@ Field *find_field_in_real_table(THD *thd, TABLE *table,
RETURN VALUES
0 No field was found, or the found field is not unique, or
- there are no sufficient access priviligaes for the
+ there are no sufficient access priviliges for the
found field, or the field is qualified with non-existing
table.
not_found_field The function was called with report_error ==
@@ -2217,8 +2217,8 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
TABLE_LIST *tables is not changed during query execution (which
is true for all queries except RENAME but luckily RENAME doesn't
use fields...) so we can rely on reusing pointer to its member.
- With this optimisation we also miss case when addition of one more
- field makes some prepared query ambiguous and so erronous, but we
+ With this optimization we also miss case when addition of one more
+ field makes some prepared query ambiguous and so erroneous, but we
accept this trade off.
*/
found= find_field_in_real_table(thd, item->cached_table->table,
@@ -2239,7 +2239,7 @@ find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
if (db && lower_case_table_names)
{
/*
- convert database to lower case for comparision.
+ convert database to lower case for comparison.
We can't do this in Item_field as this would change the
'name' of the item which may be used in the select list
*/
@@ -2779,7 +2779,8 @@ bool get_key_map_from_key_list(key_map *map, TABLE *table,
any_privileges 0 If we should ensure that we have SELECT privileges
for all columns
1 If any privilege is ok
- allocate_view_names if true view names will be copied to current Item_arena memory (made for SP/PS)
+ allocate_view_names if true view names will be copied to current Item_arena
+ memory (made for SP/PS)
RETURN
0 ok
'it' is updated to point at last inserted
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 99d076bd335..178d36faa2a 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -11141,7 +11141,7 @@ cp_buffer_from_ref(TABLE_REF *ref)
ref_pointer_array.
RETURN
- 0 if ok
+ 0 if OK
1 if error occurred
*/