summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDeven Bansod <devenbansod.bits@gmail.com>2016-09-07 20:57:39 +0530
committerDeven Bansod <devenbansod.bits@gmail.com>2016-09-07 21:04:26 +0530
commitbd8936d2d6d1b932211a29cea313749be13bac83 (patch)
treefa2e44f368eb63e79f00c3e6dbc0c7ed0cce5780 /src
parent8159f2ad5eaf354749c3d94458b31bf565a03878 (diff)
downloadsql-parser-bd8936d2d6d1b932211a29cea313749be13bac83.zip
sql-parser-bd8936d2d6d1b932211a29cea313749be13bac83.tar.gz
sql-parser-bd8936d2d6d1b932211a29cea313749be13bac83.tar.bz2
Fix unnecesary and incorrect assigning of table name
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Statements/CreateStatement.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Statements/CreateStatement.php b/src/Statements/CreateStatement.php
index 38dde32..47340b5 100644
--- a/src/Statements/CreateStatement.php
+++ b/src/Statements/CreateStatement.php
@@ -424,7 +424,7 @@ class CreateStatement extends Statement
) {
/* CREATE TABLE `new_tbl` LIKE 'orig_tbl' */
$list->idx = $nextidx;
- $this->like = $this->table = Expression::parse(
+ $this->like = Expression::parse(
$parser,
$list,
array(