Improve UI for running DB queries by calling db_prefix_tables()

dww - December 11, 2008 - 03:09
Project:Database Administration
Version:5.x-1.x-dev
Component:User interface
Category:task
Priority:normal
Assigned:dww
Status:needs review
Description

Why don't we just call db_prefix_tables() on the query the user enters, instead of forcing them to manually deal with table prefixes?

#1

dww - December 11, 2008 - 03:11
Status:active» needs review
AttachmentSize
345557_dba_db_prefix_tables.1.patch 1.55 KB

#2

dww - December 11, 2008 - 03:14

(For that matter, why don't we just call db_query() instead of _db_query()?)

AttachmentSize
345557_dba_db_query.2.patch 1.41 KB
 
 

Drupal is a registered trademark of Dries Buytaert.