summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2003-05-05 14:54:37 -0400
committerunknown <vva@eagle.mysql.r18.ru>2003-05-05 14:54:37 -0400
commitb9121cdea38b75aabc5a29a769ee409c962f42e0 (patch)
tree5da77cfccce06cd1eaa12c4306dc0be2bbac9d15 /sql/item_create.cc
parent0e891786615356dbc9bca3c5132e259e92b89ad9 (diff)
downloadmariadb-git-b9121cdea38b75aabc5a29a769ee409c962f42e0.tar.gz
made lex a pointer in THD
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index 23e4ce1d2b4..b7333813d54 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -83,7 +83,7 @@ Item *create_func_ceiling(Item* a)
Item *create_func_connection_id(void)
{
THD *thd=current_thd;
- thd->lex.safe_to_cache_query=0;
+ thd->lex->safe_to_cache_query=0;
return new Item_int(NullS,(longlong) thd->thread_id,10);
}
@@ -159,7 +159,7 @@ Item *create_func_floor(Item* a)
Item *create_func_found_rows(void)
{
THD *thd=current_thd;
- thd->lex.safe_to_cache_query=0;
+ thd->lex->safe_to_cache_query=0;
return new Item_int(NullS,(longlong) thd->found_rows(),21);
}
@@ -170,7 +170,7 @@ Item *create_func_from_days(Item* a)
Item *create_func_get_lock(Item* a, Item *b)
{
- current_thd->lex.uncacheable();
+ current_thd->lex->uncacheable();
return new Item_func_get_lock(a, b);
}
@@ -340,7 +340,7 @@ Item *create_func_radians(Item *a)
Item *create_func_release_lock(Item* a)
{
- current_thd->lex.uncacheable();
+ current_thd->lex->uncacheable();
return new Item_func_release_lock(a);
}
@@ -448,7 +448,7 @@ Item *create_func_year(Item* a)
Item *create_load_file(Item* a)
{
- current_thd->lex.uncacheable();
+ current_thd->lex->uncacheable();
return new Item_load_file(a);
}
@@ -471,13 +471,13 @@ Item *create_func_cast(Item *a, Item_cast cast_type)
Item *create_func_is_free_lock(Item* a)
{
- current_thd->lex.uncacheable();
+ current_thd->lex->uncacheable();
return new Item_func_is_free_lock(a);
}
Item *create_func_is_used_lock(Item* a)
{
- current_thd->lex.uncacheable();
+ current_thd->lex->uncacheable();
return new Item_func_is_used_lock(a);
}