1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 00:54:08 +02:00

Prepare for SQLite

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1192 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-10-16 12:26:16 +00:00
parent cc3ae45832
commit 5e01a627f7
8 changed files with 59 additions and 36 deletions

View File

@@ -37,8 +37,8 @@ if ($_POST) {
$row["source"][] = "";
}
$source = get_vals("SHOW COLUMNS FROM " . idf_escape($TABLE)); //! no text and blob
$target = ($TABLE === $row["table"] ? $source : get_vals("SHOW COLUMNS FROM " . idf_escape($row["table"])));
$source = array_keys(fields($TABLE)); //! no text and blob
$target = ($TABLE === $row["table"] ? $source : array_keys(fields($row["table"])));
?>
<form action="" method="post">