Skip to content
Newer
Older
100644 767 lines (698 sloc) 28 KB
173a482 @lem9 operations
lem9 authored Apr 28, 2002
1 <?php
817e790 synced/fixed vim line
Sebastian Mendel authored Mar 19, 2007
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
374abd5 fixed/added page level docblock
Sebastian Mendel authored Mar 20, 2007
3 /**
4 *
5 * @version $Id$
84ae042 @nijel Adding @package, third part.
nijel authored Nov 24, 2008
6 * @package phpMyAdmin
374abd5 fixed/added page level docblock
Sebastian Mendel authored Mar 20, 2007
7 */
173a482 @lem9 operations
lem9 authored Apr 28, 2002
8
374abd5 fixed/added page level docblock
Sebastian Mendel authored Mar 20, 2007
9 /**
10 *
11 */
d0facc3 splitted common.lib.php into common.inc.php, core.lib.php and common.…
Sebastian Mendel authored Mar 20, 2007
12 require_once './libraries/common.inc.php';
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
13 require_once './libraries/Table.class.php';
fcf387b common.lib.php should REALLY REALLY and ALWAYS be the first include
Sebastian Mendel authored Nov 18, 2005
14
ecc793b make use of PMA_Table object for renaming tables (added also some req…
Sebastian Mendel authored Feb 21, 2006
15 $pma_table = new PMA_Table($GLOBALS['table'], $GLOBALS['db']);
16
56e9d5d message is now displayed if a query had been submitted to sort the table
Loïc Chapeaux authored May 3, 2002
17 /**
18 * Runs common work
19 */
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
20 require './libraries/tbl_common.php';
21 $url_query .= '&amp;goto=tbl_operations.php&amp;back=tbl_operations.php';
22 $url_params['goto'] = $url_params['back'] = 'tbl_operations.php';
cca4a66 changes to move to central PMA DB: check for referential integrity wo…
Mike Beck authored Jun 15, 2002
23
c5d319a coding standards
Loïc Chapeaux authored Jul 5, 2002
24 /**
25 * Gets relation settings
26 */
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
27 require_once './libraries/relation.lib.php';
cca4a66 changes to move to central PMA DB: check for referential integrity wo…
Mike Beck authored Jun 15, 2002
28 $cfgRelation = PMA_getRelationsParam();
29
7810355 @lem9 remove Options tab
lem9 authored Jun 5, 2003
30 /**
c505e1c @derrabus - BerkeleyDB version information.
derrabus authored Jan 18, 2005
31 * Gets available MySQL charsets and storage engines
a1875b0 @derrabus Improved MySQL 4.1 support
derrabus authored Jun 7, 2003
32 */
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
33 require_once './libraries/mysql_charsets.lib.php';
573a616 fixed code indention
Sebastian Mendel authored May 9, 2007
34 require_once './libraries/StorageEngine.class.php';
a1875b0 @derrabus Improved MySQL 4.1 support
derrabus authored Jun 7, 2003
35
518cb59 @lem9 more partition stuff
lem9 authored Oct 26, 2007
36 /**
bd501a3 removed obsolete PMA_ENGINE_KEYWORD
Sebastian Mendel authored Jan 21, 2008
37 * Class for partition management
518cb59 @lem9 more partition stuff
lem9 authored Oct 26, 2007
38 */
39 require_once './libraries/Partition.class.php';
40
09180e0 @lem9 bug #1035524
lem9 authored Sep 29, 2004
41 // reselect current db (needed in some cases probably due to
42 // the calling of relation.lib.php)
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
43 PMA_DBI_select_db($GLOBALS['db']);
44
45 /**
46 * Gets tables informations
47 */
09180e0 @lem9 bug #1035524
lem9 authored Sep 29, 2004
48
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
49 require './libraries/tbl_info.inc.php';
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
50
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
51 // define some globals here, for improved syntax in the conditionals
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
52 $is_myisam_or_maria = $is_isam = $is_innodb = $is_berkeleydb = $is_maria = $is_pbxt = false;
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
53 // set initial value of these globals, based on the current table engine
54 PMA_set_global_variables_for_engine($tbl_type);
55
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
56 if ($is_maria) {
57 // the value for transactional can be implicit
58 // (no create option found, in this case it means 1)
59 // or explicit (option found with a value of 0 or 1)
60 // ($transactional may have been set by libraries/tbl_info.inc.php,
61 // from the $create_options)
62 $transactional = (isset($transactional) && $transactional == '0') ? '0' : '1';
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
63 $page_checksum = (isset($page_checksum)) ? $page_checksum : '';
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
64 }
65
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
66 $reread_info = false;
67 $table_alters = array();
2678154 @nijel Reread table information after change, so that rendered page contains…
nijel authored Oct 25, 2005
68
a1875b0 @derrabus Improved MySQL 4.1 support
derrabus authored Jun 7, 2003
69 /**
7810355 @lem9 remove Options tab
lem9 authored Jun 5, 2003
70 * Updates table comment, type and options if required
71 */
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
72 if (isset($_REQUEST['submitoptions'])) {
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
73 $_message = '';
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
74 $warning_messages = array();
75
ecc793b make use of PMA_Table object for renaming tables (added also some req…
Sebastian Mendel authored Feb 21, 2006
76 if (isset($_REQUEST['new_name'])) {
77 if ($pma_table->rename($_REQUEST['new_name'])) {
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
78 $_message .= $pma_table->getLastMessage();
79 $result = true;
80 $GLOBALS['table'] = $pma_table->getName();
ecc793b make use of PMA_Table object for renaming tables (added also some req…
Sebastian Mendel authored Feb 21, 2006
81 $reread_info = true;
82 $reload = true;
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
83 } else {
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
84 $_message .= $pma_table->getLastError();
85 $result = false;
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
86 }
7810355 @lem9 remove Options tab
lem9 authored Jun 5, 2003
87 }
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
88 if (isset($_REQUEST['comment'])
89 && urldecode($_REQUEST['prev_comment']) !== $_REQUEST['comment']) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
90 $table_alters[] = 'COMMENT = \'' . PMA_sqlAddslashes($_REQUEST['comment']) . '\'';
713355f @nijel Allow to change auto_increment for InnoDB, supported since MySQL 5.0.…
nijel authored Oct 25, 2005
91 }
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
92 if (! empty($_REQUEST['new_tbl_type'])
93 && strtolower($_REQUEST['new_tbl_type']) !== strtolower($tbl_type)) {
bd501a3 removed obsolete PMA_ENGINE_KEYWORD
Sebastian Mendel authored Jan 21, 2008
94 $table_alters[] = 'ENGINE = ' . $_REQUEST['new_tbl_type'];
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
95 $tbl_type = $_REQUEST['new_tbl_type'];
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
96 // reset the globals for the new engine
97 PMA_set_global_variables_for_engine($tbl_type);
769aec9 [engines] Fix warnings when changing table engine to Maria.
Madhura Jayaratne authored Apr 20, 2010
98 if ($is_maria) {
99 $transactional = (isset($transactional) && $transactional == '0') ? '0' : '1';
100 $page_checksum = (isset($page_checksum)) ? $page_checksum : '';
101 }
713355f @nijel Allow to change auto_increment for InnoDB, supported since MySQL 5.0.…
nijel authored Oct 25, 2005
102 }
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
103
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
104 if (! empty($_REQUEST['tbl_collation'])
105 && $_REQUEST['tbl_collation'] !== $tbl_collation) {
106 $table_alters[] = 'DEFAULT ' . PMA_generateCharsetQueryPart($_REQUEST['tbl_collation']);
107 }
108
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
109 if (($is_myisam_or_maria || $is_isam)
45b04ab replaced $dblist with new PMA_List_Database class
Sebastian Mendel authored Sep 20, 2006
110 && isset($_REQUEST['new_pack_keys'])
f4e8e08 @nijel Reload language file after switch to utf-8 translation (bug #1442605).
nijel authored Apr 27, 2006
111 && $_REQUEST['new_pack_keys'] != (string)$pack_keys) {
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
112 $table_alters[] = 'pack_keys = ' . $_REQUEST['new_pack_keys'];
113 }
114
115 $checksum = empty($checksum) ? '0' : '1';
116 $_REQUEST['new_checksum'] = empty($_REQUEST['new_checksum']) ? '0' : '1';
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
117 if ($is_myisam_or_maria
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
118 && $_REQUEST['new_checksum'] !== $checksum) {
119 $table_alters[] = 'checksum = ' . $_REQUEST['new_checksum'];
120 }
121
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
122 $_REQUEST['new_transactional'] = empty($_REQUEST['new_transactional']) ? '0' : '1';
123 if ($is_maria
124 && $_REQUEST['new_transactional'] !== $transactional) {
125 $table_alters[] = 'TRANSACTIONAL = ' . $_REQUEST['new_transactional'];
126 }
127
d7e690e @lem9 MARIA: PAGE_CHECKSUM (does not currently work in 5.1.23a-maria)
lem9 authored Mar 18, 2008
128 $_REQUEST['new_page_checksum'] = empty($_REQUEST['new_page_checksum']) ? '0' : '1';
129 if ($is_maria
130 && $_REQUEST['new_page_checksum'] !== $page_checksum) {
131 $table_alters[] = 'PAGE_CHECKSUM = ' . $_REQUEST['new_page_checksum'];
132 }
133
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
134 $delay_key_write = empty($delay_key_write) ? '0' : '1';
135 $_REQUEST['new_delay_key_write'] = empty($_REQUEST['new_delay_key_write']) ? '0' : '1';
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
136 if ($is_myisam_or_maria
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
137 && $_REQUEST['new_delay_key_write'] !== $delay_key_write) {
138 $table_alters[] = 'delay_key_write = ' . $_REQUEST['new_delay_key_write'];
139 }
140
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
141 if (($is_myisam_or_maria || $is_innodb || $is_pbxt)
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
142 && ! empty($_REQUEST['new_auto_increment'])
143 && (! isset($auto_increment) || $_REQUEST['new_auto_increment'] !== $auto_increment)) {
144 $table_alters[] = 'auto_increment = ' . PMA_sqlAddslashes($_REQUEST['new_auto_increment']);
145 }
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
146
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
147 if (($is_myisam_or_maria || $is_innodb || $is_pbxt)
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
148 && ! empty($_REQUEST['new_row_format'])
3815405 @lem9 bug #2461735 [operations] Table operations adds "row_format"
lem9 authored Dec 23, 2008
149 && (! isset($row_format) || strtolower($_REQUEST['new_row_format']) !== strtolower($row_format))) {
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
150 $table_alters[] = 'ROW_FORMAT = ' . PMA_sqlAddslashes($_REQUEST['new_row_format']);
151 }
152
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
153 if (count($table_alters) > 0) {
154 $sql_query = 'ALTER TABLE ' . PMA_backquote($GLOBALS['table']);
155 $sql_query .= "\r\n" . implode("\r\n", $table_alters);
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
156 $result .= PMA_DBI_query($sql_query) ? true : false;
0a9c4fc never rush a checkin - its allways trouble
Sebastian Mendel authored Apr 11, 2006
157 $reread_info = true;
158 unset($table_alters);
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
159 foreach (PMA_DBI_get_warnings() as $warning) {
e9ee6cf @lem9 bug #2983065 Error when changing from Maria to MyISAM engine
lem9 authored Apr 25, 2010
160 // In MariaDB 5.1.44, when altering a table from Maria to MyISAM
161 // and if TRANSACTIONAL was set, the system reports an error;
162 // I discussed with a Maria developer and he agrees that this
163 // should not be reported with a Level of Error, so here
164 // I just ignore it. But there are other 1478 messages
165 // that it's better to show.
166 if (! ($_REQUEST['new_tbl_type'] == 'MyISAM' && $warning['Code'] == '1478' && $warning['Level'] == 'Error')) {
167 $warning_messages[] = $warning['Level'] . ': #' . $warning['Code']
168 . ' ' . $warning['Message'];
169 }
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
170 }
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
171 }
172 }
12d4167 Start "stay on the sub-pages" work for table properties
Loïc Chapeaux authored May 1, 2002
173 /**
174 * Reordering the table has been requested by the user
175 */
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
176 if (isset($_REQUEST['submitorderby']) && ! empty($_REQUEST['order_field'])) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
177 $sql_query = '
178 ALTER TABLE ' . PMA_backquote($GLOBALS['table']) . '
179 ORDER BY ' . PMA_backquote(urldecode($_REQUEST['order_field']));
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
180 if (isset($_REQUEST['order_order']) && $_REQUEST['order_order'] === 'desc') {
fc4ba26 @nijel Define sort order for sorting tables (RFE #971314).
nijel authored Jun 15, 2004
181 $sql_query .= ' DESC';
182 }
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
183 $result = PMA_DBI_query($sql_query);
12d4167 Start "stay on the sub-pages" work for table properties
Loïc Chapeaux authored May 1, 2002
184 } // end if
185
5eb4fee @lem9 partition maintenance
lem9 authored Nov 1, 2007
186 /**
187 * A partition operation has been requested by the user
188 */
189 if (isset($_REQUEST['submit_partition']) && ! empty($_REQUEST['partition_operation'])) {
190 $sql_query = 'ALTER TABLE ' . PMA_backquote($GLOBALS['table']) . ' ' . $_REQUEST['partition_operation'] . ' PARTITION ' . $_REQUEST['partition_name'];
191 $result = PMA_DBI_query($sql_query);
192 } // end if
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
193
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
194 if ($reread_info) {
226d9f7 @lem9 patch #2677091 tbl_operations shows old AI value, thanks to Virsacer …
lem9 authored Mar 22, 2009
195 // to avoid showing the old value (for example the AUTO_INCREMENT) after
196 // a change, clear the cache
197 PMA_Table::$cache = array();
d7e690e @lem9 MARIA: PAGE_CHECKSUM (does not currently work in 5.1.23a-maria)
lem9 authored Mar 18, 2008
198 $page_checksum = $checksum = $delay_key_write = 0;
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
199 require './libraries/tbl_info.inc.php';
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
200 }
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
201 unset($reread_info);
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
202
3f258cf @nijel Cleanup of message displaying and navigation reloading.
nijel authored Oct 21, 2004
203 /**
204 * Displays top menu links
205 */
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
206 require_once './libraries/tbl_links.inc.php';
12d4167 Start "stay on the sub-pages" work for table properties
Loïc Chapeaux authored May 1, 2002
207
55572a5 Patch #2986708: Fix for the bug #2983066
Martynas Mickevičius authored Apr 14, 2010
208 if (isset($result) && empty($zero_rows)) {
84ae042 @nijel Adding @package, third part.
nijel authored Nov 24, 2008
209 // set to success by default, because result set could be empty
51ea0c9 @lem9 undefined $_type on successful table rename
lem9 authored May 4, 2008
210 // (for example, a table rename)
211 $_type = 'success';
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
212 if (empty($_message)) {
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
213 $_message = $result ? __('Your SQL query has been executed successfully') : __('Error');
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
214 // $result should exist, regardless of $_message
215 $_type = $result ? 'success' : 'error';
216 }
217 if (! empty($warning_messages)) {
218 $_message = new PMA_Message;
219 $_message->addMessages($warning_messages);
220 $_message->isWarning(true);
221 unset($warning_messages);
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
222 }
223 PMA_showMessage($_message, $sql_query, $_type);
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
224 unset($_message, $_type);
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
225 }
226
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
227 $url_params['goto'] = 'tbl_operations.php';
228 $url_params['back'] = 'tbl_operations.php';
7e5b651 fixed undefined variables (moved table related output after possible …
Sebastian Mendel authored Dec 8, 2005
229
12d4167 Start "stay on the sub-pages" work for table properties
Loïc Chapeaux authored May 1, 2002
230 /**
231 * Get columns names
232 */
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
233 $local_query = '
234 SHOW COLUMNS
235 FROM ' . PMA_backquote($GLOBALS['table']) . '
236 FROM ' . PMA_backquote($GLOBALS['db']);
237 $columns = PMA_DBI_fetch_result($local_query, null, 'Field');
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
238 unset($local_query);
12d4167 Start "stay on the sub-pages" work for table properties
Loïc Chapeaux authored May 1, 2002
239
240 /**
241 * Displays the page
242 */
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
243 ?>
244 <!-- Order the table -->
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
245 <div id="div_table_order">
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
246 <form method="post" action="tbl_operations.php">
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
247 <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']); ?>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
248 <fieldset id="fieldset_table_order">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
249 <legend><?php echo __('Alter table order by'); ?></legend>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
250 <select name="order_field">
251 <?php
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
252 foreach ($columns as $fieldname) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
253 echo ' <option value="' . htmlspecialchars($fieldname) . '">'
254 . htmlspecialchars($fieldname) . '</option>' . "\n";
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
255 }
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
256 unset($columns);
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
257 ?>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
258 </select> <?php echo __('(singly)'); ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
259 <select name="order_order">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
260 <option value="asc"><?php echo __('Ascending'); ?></option>
261 <option value="desc"><?php echo __('Descending'); ?></option>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
262 </select>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
263 <input type="submit" name="submitorderby" value="<?php echo __('Go'); ?>" />
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
264 </fieldset>
265 </form>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
266 </div>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
267
268 <!-- Move table -->
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
269 <div id="div_table_rename">
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
270 <form method="post" action="tbl_move_copy.php"
271 onsubmit="return emptyFormElements(this, 'new_name')">
272 <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']); ?>
273 <input type="hidden" name="reload" value="1" />
274 <input type="hidden" name="what" value="data" />
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
275 <fieldset id="fieldset_table_rename">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
276 <legend><?php echo __('Move table to (database<b>.</b>table):'); ?></legend>
fa21fe3 make the database list more magic:
Sebastian Mendel authored May 9, 2008
277 <?php if (count($GLOBALS['pma']->databases) > $GLOBALS['cfg']['MaxDbList']) {
683a3e0 @lem9 bug #1859460 [display] Operations and many databases
lem9 authored Dec 30, 2007
278 ?>
823687a @lem9 bug #1859460, prevent an empty target_db field to produce a failure, …
lem9 authored Dec 30, 2007
279 <input type="text" maxlength="100" size="30" name="target_db" value="<?php echo htmlspecialchars($GLOBALS['db']); ?>"/>
683a3e0 @lem9 bug #1859460 [display] Operations and many databases
lem9 authored Dec 30, 2007
280 <?php
281 } else {
282 ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
283 <select name="target_db">
fa21fe3 make the database list more magic:
Sebastian Mendel authored May 9, 2008
284 <?php echo $GLOBALS['pma']->databases->getHtmlOptions(true, false); ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
285 </select>
bd501a3 removed obsolete PMA_ENGINE_KEYWORD
Sebastian Mendel authored Jan 21, 2008
286 <?php
683a3e0 @lem9 bug #1859460 [display] Operations and many databases
lem9 authored Dec 30, 2007
287 } // end if
288 ?>
fe78d24 @lem9 b to strong, and remove bold for MySQL charset
lem9 authored Jul 9, 2008
289 &nbsp;<strong>.</strong>&nbsp;
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
290 <input type="text" size="20" name="new_name" onfocus="this.select()"
c0e3385 @lem9 bug #1526000, copying table to another db (MYSQL 5.0.24)
lem9 authored Aug 4, 2006
291 value="<?php echo htmlspecialchars($GLOBALS['table']); ?>" /><br />
6aa454a @lem9 auto_increment next value is included since MySQL 5.0.23
lem9 authored Jul 30, 2006
292 <?php
c0e3385 @lem9 bug #1526000, copying table to another db (MYSQL 5.0.24)
lem9 authored Aug 4, 2006
293 // starting with MySQL 5.0.24, SHOW CREATE TABLE includes the AUTO_INCREMENT
45b04ab replaced $dblist with new PMA_List_Database class
Sebastian Mendel authored Sep 20, 2006
294 // next value but users can decide if they want it or not for the operation
295 ?>
fb9a3a5 @nijel Check before commit!
nijel authored Nov 17, 2006
296 <input type="checkbox" name="sql_auto_increment" value="1" id="checkbox_auto_increment_mv" checked="checked" />
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
297 <label for="checkbox_auto_increment_mv"><?php echo __('Add AUTO_INCREMENT value'); ?></label><br />
c0e3385 @lem9 bug #1526000, copying table to another db (MYSQL 5.0.24)
lem9 authored Aug 4, 2006
298 </fieldset>
299 <fieldset class="tblFooters">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
300 <input type="submit" name="submit_move" value="<?php echo __('Go'); ?>" />
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
301 </fieldset>
302 </form>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
303 </div>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
304
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
305 <?php
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
306 if (strstr($show_comment, '; InnoDB free') === false) {
307 if (strstr($show_comment, 'InnoDB free') === false) {
308 // only user entered comment
309 $comment = $show_comment;
310 } else {
311 // here we have just InnoDB generated part
312 $comment = '';
313 }
314 } else {
315 // remove InnoDB comment from end, just the minimal part (*? is non greedy)
0ae8842 (not complete) PEAR coding standard
Sebastian Mendel authored Jan 17, 2006
316 $comment = preg_replace('@; InnoDB free:.*?$@', '', $show_comment);
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
317 }
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
318
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
319 // PACK_KEYS: MyISAM or ISAM
320 // DELAY_KEY_WRITE, CHECKSUM, : MyISAM only
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
321 // AUTO_INCREMENT: MyISAM and InnoDB since 5.0.3, PBXT
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
322
819324e @lem9 remove author names, as discussed at the 2010 developer meeting and a…
lem9 authored Mar 6, 2010
323 // Here should be version check for InnoDB, however it is supported
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
324 // in >5.0.4, >4.1.12 and >4.0.11, so I decided not to
325 // check for version
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
326 ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
327
328 <!-- Table options -->
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
329 <div id="div_table_options">
ad06b4a @nijel Rename tbl_* files to drop useless _properties part.
nijel authored Oct 25, 2006
330 <form method="post" action="tbl_operations.php">
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
331 <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']); ?>
332 <input type="hidden" name="reload" value="1" />
333 <fieldset>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
334 <legend><?php echo __('Table options'); ?></legend>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
335
336 <table>
337 <!-- Change table name -->
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
338 <tr><td><?php echo __('Rename table to'); ?></td>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
339 <td><input type="text" size="20" name="new_name" onfocus="this.select()"
340 value="<?php echo htmlspecialchars($GLOBALS['table']); ?>" />
341 </td>
342 </tr>
343
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
344 <!-- Table comments -->
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
345 <tr><td><?php echo __('Table comments'); ?></td>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
346 <td><input type="text" name="comment" maxlength="60" size="30"
347 value="<?php echo htmlspecialchars($comment); ?>" onfocus="this.select()" />
e5458c0 do not use urlencode() in forms
Sebastian Mendel authored May 6, 2008
348 <input type="hidden" name="prev_comment" value="<?php echo htmlspecialchars($comment); ?>" />
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
349 </td>
350 </tr>
351
dc649ba @lem9 bug #1349262, use Storage Engine
lem9 authored Dec 21, 2005
352 <!-- Storage engine -->
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
353 <tr><td><?php echo __('Storage Engine'); ?>
dc649ba @lem9 bug #1349262, use Storage Engine
lem9 authored Dec 21, 2005
354 <?php echo PMA_showMySQLDocu('Storage_engines', 'Storage_engines'); ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
355 </td>
573a616 fixed code indention
Sebastian Mendel authored May 9, 2007
356 <td><?php echo PMA_StorageEngine::getHtmlSelect('new_tbl_type', null, $tbl_type); ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
357 </td>
358 </tr>
359
360 <!-- Table character set -->
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
361 <tr><td><?php echo __('Collation'); ?></td>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
362 <td><?php echo PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION,
363 'tbl_collation', null, $tbl_collation, false, 3); ?>
364 </td>
365 </tr>
7955d51 removed MySQL < 5 code
Sebastian Mendel authored Oct 2, 2007
366 <?php
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
367 if ($is_myisam_or_maria || $is_isam) {
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
368 ?>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
369 <tr>
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
370 <td><label for="new_pack_keys">PACK_KEYS</label></td>
f4e8e08 @nijel Reload language file after switch to utf-8 translation (bug #1442605).
nijel authored Apr 27, 2006
371 <td><select name="new_pack_keys" id="new_pack_keys">
372 <option value="DEFAULT"
373 <?php if ($pack_keys == 'DEFAULT') echo 'selected="selected"'; ?>
374 >DEFAULT</option>
375 <option value="0"
376 <?php if ($pack_keys == '0') echo 'selected="selected"'; ?>
377 >0</option>
378 <option value="1"
379 <?php if ($pack_keys == '1') echo 'selected="selected"'; ?>
380 >1</option>
381 </select>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
382 </td>
383 </tr>
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
384 <?php
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
385 } // end if (MYISAM|ISAM)
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
386
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
387 if ($is_myisam_or_maria) {
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
388 ?>
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
389 <tr><td><label for="new_checksum">CHECKSUM</label></td>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
390 <td><input type="checkbox" name="new_checksum" id="new_checksum"
391 value="1"
392 <?php echo (isset($checksum) && $checksum == 1)
393 ? ' checked="checked"'
394 : ''; ?> />
395 </td>
396 </tr>
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
397
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
398 <tr><td><label for="new_delay_key_write">DELAY_KEY_WRITE</label></td>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
399 <td><input type="checkbox" name="new_delay_key_write" id="new_delay_key_write"
400 value="1"
401 <?php echo (isset($delay_key_write) && $delay_key_write == 1)
402 ? ' checked="checked"'
403 : ''; ?> />
404 </td>
405 </tr>
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
406
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
407 <?php
408 } // end if (MYISAM)
409
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
410 if ($is_maria) {
411 ?>
412 <tr><td><label for="new_transactional">TRANSACTIONAL</label></td>
413 <td><input type="checkbox" name="new_transactional" id="new_transactional"
414 value="1"
415 <?php echo (isset($transactional) && $transactional == 1)
416 ? ' checked="checked"'
417 : ''; ?> />
418 </td>
419 </tr>
420
d7e690e @lem9 MARIA: PAGE_CHECKSUM (does not currently work in 5.1.23a-maria)
lem9 authored Mar 18, 2008
421 <tr><td><label for="new_page_checksum">PAGE_CHECKSUM</label></td>
422 <td><input type="checkbox" name="new_page_checksum" id="new_page_checksum"
423 value="1"
424 <?php echo (isset($page_checksum) && $page_checksum == 1)
425 ? ' checked="checked"'
426 : ''; ?> />
427 </td>
428 </tr>
429
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
430 <?php
431 } // end if (MARIA)
432
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
433 if (isset($auto_increment) && strlen($auto_increment) > 0
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
434 && ($is_myisam_or_maria || $is_innodb || $is_pbxt)) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
435 ?>
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
436 <tr><td><label for="auto_increment_opt">AUTO_INCREMENT</label></td>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
437 <td><input type="text" name="new_auto_increment" id="auto_increment_opt"
438 value="<?php echo $auto_increment; ?>" /></td>
d9a2161 @lem9 redesign part 3
lem9 authored Jun 13, 2004
439 </tr>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
440 <?php
441 } // end if (MYISAM|INNODB)
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
442
e2bea40 @lem9 use PMA_generate_html_dropdown() for the display direction
lem9 authored Jun 7, 2009
443 // the outer array is for engines, the inner array contains the dropdown
444 // option values as keys then the dropdown option labels
2fbe820 @lem9 rfe #2839504 [engines] Support InnoDB plugin new row formats
lem9 authored Aug 23, 2009
445
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
446 $possible_row_formats = array(
e2bea40 @lem9 use PMA_generate_html_dropdown() for the display direction
lem9 authored Jun 7, 2009
447 'MARIA' => array(
448 'FIXED' => 'FIXED',
449 'DYNAMIC' => 'DYNAMIC',
450 'PAGE' => 'PAGE'
451 ),
452 'MYISAM' => array(
453 'FIXED' => 'FIXED',
454 'DYNAMIC' => 'DYNAMIC'
455 ),
456 'PBXT' => array(
457 'FIXED' => 'FIXED',
458 'DYNAMIC' => 'DYNAMIC'
459 ),
460 'INNODB' => array(
461 'COMPACT' => 'COMPACT',
462 'REDUNDANT' => 'REDUNDANT')
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
463 );
2fbe820 @lem9 rfe #2839504 [engines] Support InnoDB plugin new row formats
lem9 authored Aug 23, 2009
464
465 $innodb_engine_plugin = PMA_StorageEngine::getEngine('innodb');
466 $innodb_plugin_version = $innodb_engine_plugin->getInnodbPluginVersion();
467 if (!empty($innodb_plugin_version)) {
468 $innodb_file_format = $innodb_engine_plugin->getInnodbFileFormat();
469 } else {
470 $innodb_file_format = '';
471 }
472 if ('Barracuda' == $innodb_file_format && $innodb_engine_plugin->supportsFilePerTable()) {
473 $possible_row_formats['INNODB']['DYNAMIC'] = 'DYNAMIC';
474 $possible_row_formats['INNODB']['COMPRESSED'] = 'COMPRESSED';
475 }
476 unset($innodb_engine_plugin, $innodb_plugin_version, $innodb_file_format);
477
32bb3ab @lem9 support ROW_FORMAT and PAGE_CHECKSUM table option; verify warnings co…
lem9 authored Mar 21, 2008
478 // for MYISAM there is also COMPRESSED but it can be set only by the
479 // myisampack utility, so don't offer here the choice because if we
480 // try it inside an ALTER TABLE, MySQL (at least in 5.1.23-maria)
481 // does not return a warning
482 // (if the table was compressed, it can be seen on the Structure page)
483
f11915a @lem9 bug 1941020 undefined index
lem9 authored Apr 14, 2008
484 if (isset($possible_row_formats[$tbl_type])) {
485 $current_row_format = strtoupper($showtable['Row_format']);
486 echo '<tr><td><label for="new_row_format">ROW_FORMAT</label></td>';
487 echo '<td>';
e2bea40 @lem9 use PMA_generate_html_dropdown() for the display direction
lem9 authored Jun 7, 2009
488 echo PMA_generate_html_dropdown('new_row_format', $possible_row_formats[$tbl_type], $current_row_format, 'new_row_format');
f11915a @lem9 bug 1941020 undefined index
lem9 authored Apr 14, 2008
489 unset($possible_row_formats, $current_row_format);
490 echo '</td>';
491 echo '</tr>';
492 }
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
493 ?>
494 </table>
495 </fieldset>
496 <fieldset class="tblFooters">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
497 <input type="submit" name="submitoptions" value="<?php echo __('Go'); ?>" />
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
498 </fieldset>
499 </form>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
500 </div>
501
502 <!-- Copy table -->
503 <div id="div_table_copy">
504 <form method="post" action="tbl_move_copy.php"
505 onsubmit="return emptyFormElements(this, 'new_name')">
506 <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']); ?>
507 <input type="hidden" name="reload" value="1" />
508 <fieldset>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
509 <legend><?php echo __('Copy table to (database<b>.</b>table):'); ?></legend>
fa21fe3 make the database list more magic:
Sebastian Mendel authored May 9, 2008
510 <?php if (count($GLOBALS['pma']->databases) > $GLOBALS['cfg']['MaxDbList']) {
683a3e0 @lem9 bug #1859460 [display] Operations and many databases
lem9 authored Dec 30, 2007
511 ?>
823687a @lem9 bug #1859460, prevent an empty target_db field to produce a failure, …
lem9 authored Dec 30, 2007
512 <input type="text" maxlength="100" size="30" name="target_db" value="<?php echo htmlspecialchars($GLOBALS['db']); ?>"/>
683a3e0 @lem9 bug #1859460 [display] Operations and many databases
lem9 authored Dec 30, 2007
513 <?php
514 } else {
515 ?>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
516 <select name="target_db">
fa21fe3 make the database list more magic:
Sebastian Mendel authored May 9, 2008
517 <?php echo $GLOBALS['pma']->databases->getHtmlOptions(true, false); ?>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
518 </select>
bd501a3 removed obsolete PMA_ENGINE_KEYWORD
Sebastian Mendel authored Jan 21, 2008
519 <?php
683a3e0 @lem9 bug #1859460 [display] Operations and many databases
lem9 authored Dec 30, 2007
520 } // end if
521 ?>
fe78d24 @lem9 b to strong, and remove bold for MySQL charset
lem9 authored Jul 9, 2008
522 &nbsp;<strong>.</strong>&nbsp;
31217bf @helmo patch #2952353 [interface] Prefill "Copy table to" in tbl_operations.php
helmo authored Feb 16, 2010
523 <input type="text" size="20" name="new_name" onfocus="this.select()" value="<?php echo htmlspecialchars($GLOBALS['table']); ?>"/><br />
5f1d0bb @lem9 use PMA_generate_html_radio()
lem9 authored Dec 28, 2007
524 <?php
525 $choices = array(
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
526 'structure' => __('Structure only'),
527 'data' => __('Structure and data'),
528 'dataonly' => __('Data only'));
8480ffb @lem9 improve function names
lem9 authored Jun 7, 2009
529 PMA_display_html_radio('what', $choices, 'data', true);
5f1d0bb @lem9 use PMA_generate_html_radio()
lem9 authored Dec 28, 2007
530 unset($choices);
531 ?>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
532
533 <input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" />
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
534 <label for="checkbox_drop"><?php echo sprintf(__('Add %s'), 'DROP TABLE'); ?></label><br />
fb9a3a5 @nijel Check before commit!
nijel authored Nov 17, 2006
535 <input type="checkbox" name="sql_auto_increment" value="1" id="checkbox_auto_increment_cp" />
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
536 <label for="checkbox_auto_increment_cp"><?php echo __('Add AUTO_INCREMENT value'); ?></label><br />
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
537 <?php
538 // display "Add constraints" choice only if there are
539 // foreign keys
7c5d5c4 @lem9 PBXT: foreign key support
lem9 authored May 4, 2008
540 if (PMA_getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'foreign')) {
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
541 ?>
029a63a @lem9 single-table copy did not copy the constraints
lem9 authored Jul 4, 2006
542 <input type="checkbox" name="add_constraints" value="1" id="checkbox_constraints" />
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
543 <label for="checkbox_constraints"><?php echo __('Add constraints'); ?></label><br />
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
544 <?php
545 } // endif
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
546 if (isset($_COOKIE['pma_switch_to_new'])
547 && $_COOKIE['pma_switch_to_new'] == 'true') {
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
548 $pma_switch_to_new = 'true';
549 }
550 ?>
551 <input type="checkbox" name="switch_to_new" value="true"
552 id="checkbox_switch"<?php echo
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
553 isset($pma_switch_to_new) && $pma_switch_to_new == 'true'
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
554 ? ' checked="checked"'
555 : ''; ?> />
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
556 <label for="checkbox_switch"><?php echo __('Switch to copied table'); ?></label>
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
557 </fieldset>
558 <fieldset class="tblFooters">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
559 <input type="submit" name="submit_copy" value="<?php echo __('Go'); ?>" />
d275d8d styled table operations dialog
Sebastian Mendel authored Dec 12, 2005
560 </fieldset>
561 </form>
562 </div>
563
564 <br class="clearfloat"/>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
565
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
566 <div id="div_table_maintenance">
567 <fieldset>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
568 <legend><?php echo __('Table maintenance'); ?></legend>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
569
570 <ul>
173a482 @lem9 operations
lem9 authored Apr 28, 2002
571 <?php
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
572 // Note: BERKELEY (BDB) is no longer supported, starting with MySQL 5.1
573 if ($is_myisam_or_maria || $is_innodb || $is_berkeleydb) {
574 if ($is_myisam_or_maria || $is_innodb) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
575 $this_url_params = array_merge($url_params,
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
576 array('sql_query' => 'CHECK TABLE ' . PMA_backquote($GLOBALS['table'])));
173a482 @lem9 operations
lem9 authored Apr 28, 2002
577 ?>
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
578 <li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
579 <?php echo __('Check table'); ?></a>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
580 <?php echo PMA_showMySQLDocu('MySQL_Database_Administration', 'CHECK_TABLE'); ?>
581 </li>
173a482 @lem9 operations
lem9 authored Apr 28, 2002
582 <?php
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
583 }
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
584 if ($is_innodb) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
585 $this_url_params = array_merge($url_params,
bd501a3 removed obsolete PMA_ENGINE_KEYWORD
Sebastian Mendel authored Jan 21, 2008
586 array('sql_query' => 'ALTER TABLE ' . PMA_backquote($GLOBALS['table']) . ' ENGINE = InnoDB'));
4a539df @lem9 defragment
lem9 authored May 9, 2004
587 ?>
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
588 <li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
589 <?php echo __('Defragment table'); ?></a>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
590 <?php echo PMA_showMySQLDocu('Table_types', 'InnoDB_File_Defragmenting'); ?>
591 </li>
4a539df @lem9 defragment
lem9 authored May 9, 2004
592 <?php
593 }
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
594 if ($is_myisam_or_maria || $is_berkeleydb) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
595 $this_url_params = array_merge($url_params,
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
596 array('sql_query' => 'ANALYZE TABLE ' . PMA_backquote($GLOBALS['table'])));
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
597 ?>
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
598 <li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
599 <?php echo __('Analyze table'); ?></a>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
600 <?php echo PMA_showMySQLDocu('MySQL_Database_Administration', 'ANALYZE_TABLE');?>
601 </li>
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
602 <?php
603 }
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
604 if ($is_myisam_or_maria) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
605 $this_url_params = array_merge($url_params,
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
606 array('sql_query' => 'REPAIR TABLE ' . PMA_backquote($GLOBALS['table'])));
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
607 ?>
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
608 <li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
609 <?php echo __('Repair table'); ?></a>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
610 <?php echo PMA_showMySQLDocu('MySQL_Database_Administration', 'REPAIR_TABLE'); ?>
611 </li>
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
612 <?php
613 }
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
614 if ($is_myisam_or_maria || $is_innodb || $is_berkeleydb) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
615 $this_url_params = array_merge($url_params,
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
616 array('sql_query' => 'OPTIMIZE TABLE ' . PMA_backquote($GLOBALS['table'])));
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
617 ?>
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
618 <li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
619 <?php echo __('Optimize table'); ?></a>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
620 <?php echo PMA_showMySQLDocu('MySQL_Database_Administration', 'OPTIMIZE_TABLE'); ?>
621 </li>
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
622 <?php
623 }
624 } // end MYISAM or BERKELEYDB case
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
625 $this_url_params = array_merge($url_params,
626 array(
627 'sql_query' => 'FLUSH TABLE ' . PMA_backquote($GLOBALS['table']),
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
628 'zero_rows' => sprintf(__('Table %s has been flushed'),
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
629 htmlspecialchars($GLOBALS['table'])),
630 'reload' => 1,
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
631 ));
c2b46ac Final batch of PHP3-Compatibility fixes. Please test. :-)
Garvin Hicking authored Nov 22, 2003
632 ?>
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
633 <li><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
634 <?php echo __('Flush the table (FLUSH)'); ?></a>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
635 <?php echo PMA_showMySQLDocu('MySQL_Database_Administration', 'FLUSH'); ?>
636 </li>
637 </ul>
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
638 </fieldset>
639 </div>
640 <?php if (PMA_Partition::havePartitioning()) {
05a83a0 @lem9 do not display Partition maintenance if there are no partitions
lem9 authored Nov 13, 2007
641 $partition_names = PMA_Partition::getPartitionNames($db, $table);
642 // show the Partition maintenance section only if we detect a partition
643 if (! is_null($partition_names[0])) {
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
644 ?>
645 <div id="div_partition_maintenance">
646 <form method="post" action="tbl_operations.php">
647 <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']); ?>
648 <fieldset>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
649 <legend><?php echo __('Partition maintenance'); ?></legend>
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
650 <?php
05a83a0 @lem9 do not display Partition maintenance if there are no partitions
lem9 authored Nov 13, 2007
651 $html_select = '<select name="partition_name">' . "\n";
652 foreach($partition_names as $one_partition) {
653 $one_partition = htmlspecialchars($one_partition);
654 $html_select .= '<option value="' . $one_partition . '">' . $one_partition . '</option>' . "\n";
655 }
656 $html_select .= '</select>' . "\n";
2182098 @lem9 strings to gettext, second batch
lem9 authored May 4, 2010
657 printf(__('Partition %s'), $html_select);
05a83a0 @lem9 do not display Partition maintenance if there are no partitions
lem9 authored Nov 13, 2007
658 unset($partition_names, $one_partition, $html_select);
659 $choices = array(
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
660 'ANALYZE' => __('Analyze'),
661 'CHECK' => __('Check'),
662 'OPTIMIZE' => __('Optimize'),
663 'REBUILD' => __('Rebuild'),
664 'REPAIR' => __('Repair'));
8480ffb @lem9 improve function names
lem9 authored Jun 7, 2009
665 PMA_display_html_radio('partition_operation', $choices, '', false);
05a83a0 @lem9 do not display Partition maintenance if there are no partitions
lem9 authored Nov 13, 2007
666 unset($choices);
667 echo PMA_showMySQLDocu('partitioning_maintenance', 'partitioning_maintenance');
bff82c6 @lem9 support for REMOVE PARTITIONING
lem9 authored Nov 13, 2007
668 // I'm not sure of the best way to display that; this link does
669 // not depend on the Go button
670 $this_url_params = array_merge($url_params,
671 array(
672 'sql_query' => 'ALTER TABLE ' . PMA_backquote($GLOBALS['table']) . ' REMOVE PARTITIONING'
673 ));
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
674 ?>
bff82c6 @lem9 support for REMOVE PARTITIONING
lem9 authored Nov 13, 2007
675 <br /><a href="sql.php<?php echo PMA_generate_common_url($this_url_params); ?>">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
676 <?php echo __('Remove partitioning'); ?></a>
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
677 </fieldset>
5eb4fee @lem9 partition maintenance
lem9 authored Nov 1, 2007
678 <fieldset class="tblFooters">
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
679 <input type="submit" name="submit_partition" value="<?php echo __('Go'); ?>" />
5eb4fee @lem9 partition maintenance
lem9 authored Nov 1, 2007
680 </fieldset>
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
681 </form>
682 </div>
6729583 @nijel Reorganised layout a bit, added CHECK link for InnoDB, use correct ta…
nijel authored Jun 30, 2003
683 <?php
05a83a0 @lem9 do not display Partition maintenance if there are no partitions
lem9 authored Nov 13, 2007
684 } // end if
766ca28 @lem9 partition stuff (in progress)
lem9 authored Oct 30, 2007
685 } // end if
5eb4fee @lem9 partition maintenance
lem9 authored Nov 1, 2007
686
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
687 // Referential integrity check
37d50c1 @derrabus Huge set of optimizations, please test!
derrabus authored Nov 26, 2003
688 // The Referential integrity check was intended for the non-InnoDB
273df26 @lem9 referential integrity and InnoDB
lem9 authored Jul 20, 2003
689 // tables for which the relations are defined in pmadb
690 // so I assume that if the current table is InnoDB, I don't display
691 // this choice (InnoDB maintains integrity by itself)
692
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
693 if ($cfgRelation['relwork'] && ! $is_innodb) {
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
694 PMA_DBI_select_db($GLOBALS['db']);
695 $foreign = PMA_getForeigners($GLOBALS['db'], $GLOBALS['table']);
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
696
cca4a66 changes to move to central PMA DB: check for referential integrity wo…
Mike Beck authored Jun 15, 2002
697 if ($foreign) {
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
698 ?>
699 <!-- Referential integrity check -->
da6fee5 @lem9 bug #1834368 Referential integrity check breaks page look
lem9 authored Nov 22, 2007
700 <div id="div_referential_integrity">
701 <fieldset>
f55823f @lem9 strings to gettext, first batch
lem9 authored May 3, 2010
702 <legend><?php echo __('Check referential integrity:'); ?></legend>
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
703 <ul>
704 <?php
705 echo "\n";
706 foreach ($foreign AS $master => $arr) {
707 $join_query = 'SELECT ' . PMA_backquote($GLOBALS['table']) . '.* FROM '
708 . PMA_backquote($GLOBALS['table']) . ' LEFT JOIN '
709 . PMA_backquote($arr['foreign_table']);
710 if ($arr['foreign_table'] == $GLOBALS['table']) {
711 $foreign_table = $GLOBALS['table'] . '1';
712 $join_query .= ' AS ' . PMA_backquote($foreign_table);
713 } else {
714 $foreign_table = $arr['foreign_table'];
715 }
716 $join_query .= ' ON '
717 . PMA_backquote($GLOBALS['table']) . '.' . PMA_backquote($master)
718 . ' = ' . PMA_backquote($foreign_table) . '.' . PMA_backquote($arr['foreign_field'])
719 . ' WHERE '
720 . PMA_backquote($foreign_table) . '.' . PMA_backquote($arr['foreign_field'])
721 . ' IS NULL AND '
722 . PMA_backquote($GLOBALS['table']) . '.' . PMA_backquote($master)
723 . ' IS NOT NULL';
724 $this_url_params = array_merge($url_params,
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
725 array('sql_query' => $join_query));
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
726 echo ' <li>'
727 . '<a href="sql.php'
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
728 . PMA_generate_common_url($this_url_params)
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
729 . '">' . $master . '&nbsp;->&nbsp;' . $arr['foreign_table'] . '.' . $arr['foreign_field']
730 . '</a></li>' . "\n";
731 } // foreach $foreign
732 unset($foreign_table, $join_query);
733 ?>
734 </ul>
da6fee5 @lem9 bug #1834368 Referential integrity check breaks page look
lem9 authored Nov 22, 2007
735 </fieldset>
736 </div>
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
737 <?php
ec7a30f make use of new third 'class' parameter for PMA_showMessage()
Sebastian Mendel authored Oct 9, 2007
738 } // end if ($foreign)
5e472df Moved tables comments and type fetaure and referential integrity chec…
Loïc Chapeaux authored Apr 28, 2002
739
740 } // end if (!empty($cfg['Server']['relation']))
42c1128 complete revise (xhtml output, fieldsets, forms merged)
Sebastian Mendel authored Dec 8, 2005
741
173a482 @lem9 operations
lem9 authored Apr 28, 2002
742
743 /**
744 * Displays the footer
745 */
f341c72 merged libraries\tbl_move_copy.php in class PMA_Table
Sebastian Mendel authored Feb 21, 2006
746 require_once './libraries/footer.inc.php';
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
747
748
84ae042 @nijel Adding @package, third part.
nijel authored Nov 24, 2008
749 function PMA_set_global_variables_for_engine($tbl_type)
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
750 {
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
751 global $is_myisam_or_maria, $is_innodb, $is_isam, $is_berkeleydb, $is_maria, $is_pbxt;
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
752
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
753 $is_myisam_or_maria = $is_isam = $is_innodb = $is_berkeleydb = $is_maria = $is_pbxt = false;
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
754 $upper_tbl_type = strtoupper($tbl_type);
84ae042 @nijel Adding @package, third part.
nijel authored Nov 24, 2008
755
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
756 //Options that apply to MYISAM usually apply to MARIA
757 $is_myisam_or_maria = ($upper_tbl_type == 'MYISAM' || $upper_tbl_type == 'MARIA');
e8248f8 @lem9 MARIA: TRANSACTIONAL create option (in Operations)
lem9 authored Mar 17, 2008
758 $is_maria = ($upper_tbl_type == 'MARIA');
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
759
760 $is_isam = ($upper_tbl_type == 'ISAM');
761 $is_innodb = ($upper_tbl_type == 'INNODB');
762 $is_berkeleydb = ($upper_tbl_type == 'BERKELEYDB');
c37b5df @lem9 [engines] PBXT: table options
lem9 authored May 2, 2008
763 $is_pbxt = ($upper_tbl_type == 'PBXT');
b11306d @lem9 start work on Maria table options
lem9 authored Mar 16, 2008
764 }
765
6729583 @nijel Reorganised layout a bit, added CHECK link for InnoDB, use correct ta…
nijel authored Jun 30, 2003
766 ?>
Something went wrong with that request. Please try again.