Opened 10 years ago
Closed 10 years ago
#32033 closed defect (bug) (duplicate)
version 4.2-RC2: $wpdb->get_col( "SHOW TABLES LIKE ..." ) gives database error
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Database | Keywords: | |
Focuses: | administration | Cc: |
Description
On version 4.2-RC2, I am using
$wpdb->get_col( "SHOW TABLES LIKE ..." )
to check for the existence of a table.
For a non existent table this outputs the message
WordPress database error Table '...' doesn't exist for query SHOW FULL COLUMNS FROM ...
Since, this a test for the existence of a table it is valid that the table doesn't exists. This same code works in the current version 4.1.1.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Thanks Magenta Cuda, though this is a duplicate.
Duplicate: #32029