source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "
"; // line 4 echo _gettext("Partitions"); // line 5 echo " "; echo \PhpMyAdmin\Html\MySQLDocumentation::show("partitioning"); echo " "; // line 7 if (twig_test_empty(($context["partitions"] ?? null))) { // line 8 echo " "; echo call_user_func_array($this->env->getFilter('notice')->getCallable(), [_gettext("No partitioning defined!")]); echo " "; } else { // line 10 echo "

"; // line 11 echo _gettext("Partitioned by:"); // line 12 echo " "; echo twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html", null, true); echo ")

"; // line 14 if (($context["has_sub_partitions"] ?? null)) { // line 15 echo "

"; // line 16 echo _gettext("Sub partitioned by:"); // line 17 echo " "; echo twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html", null, true); echo ")

"; } // line 20 echo " "; // line 25 if (($context["has_description"] ?? null)) { // line 26 echo " "; } // line 28 echo " "; // line 38 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 39 echo " "; // line 40 if (($context["has_sub_partitions"] ?? null)) { // line 41 echo " "; } else { // line 44 echo " "; } // line 46 echo " "; // line 47 if (($context["has_description"] ?? null)) { // line 48 echo " "; } // line 57 echo " "; // line 138 if (($context["range_or_list"] ?? null)) { // line 139 echo " "; } // line 149 echo " "; // line 150 if (($context["has_sub_partitions"] ?? null)) { // line 151 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151)); foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) { // line 152 echo " "; // line 156 if (($context["has_description"] ?? null)) { // line 157 echo " "; } // line 159 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 182 echo " "; } // line 183 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 185 echo "
# "; // line 24 echo _gettext("Partition"); echo ""; echo _gettext("Expression"); echo ""; echo _gettext("Rows"); echo " "; // line 29 echo _gettext("Data length"); echo " "; // line 30 echo _gettext("Index length"); echo " "; // line 31 echo _gettext("Comment"); echo " "; // line 33 echo _gettext("Action"); // line 34 echo "
"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true); echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true); echo ""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true); echo " "; // line 50 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true); // line 51 echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < ")); // line 52 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true); // line 53 echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : ("")); // line 54 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true); echo " "; // line 59 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 60 $context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1); // line 64 echo " "; echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["data_length"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null), "html", null, true); echo " "; // line 65 echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["data_length"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null), "html", null, true); echo " "; // line 68 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 69 $context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1); // line 73 echo " "; echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["index_length"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[0] ?? null) : null), "html", null, true); echo " "; // line 74 echo twig_escape_filter($this->env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["index_length"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[1] ?? null) : null), "html", null, true); echo " "; // line 76 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true); echo " // line 80 ($context["db"] ?? null), "table" => // line 81 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 82 $context["partition"], "getName", [], "method", false, false, false, 82)]); // line 83 echo "\"> "; // line 84 echo \PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze")); echo " // line 90 ($context["db"] ?? null), "table" => // line 91 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 92 $context["partition"], "getName", [], "method", false, false, false, 92)]); // line 93 echo "\"> "; // line 94 echo \PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check")); echo " // line 100 ($context["db"] ?? null), "table" => // line 101 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 102 $context["partition"], "getName", [], "method", false, false, false, 102)]); // line 103 echo "\"> "; // line 104 echo \PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize")); echo " // line 110 ($context["db"] ?? null), "table" => // line 111 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 112 $context["partition"], "getName", [], "method", false, false, false, 112)]); // line 113 echo "\"> "; // line 114 echo \PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild")); echo " // line 120 ($context["db"] ?? null), "table" => // line 121 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 122 $context["partition"], "getName", [], "method", false, false, false, 122)]); // line 123 echo "\"> "; // line 124 echo \PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair")); echo " // line 130 ($context["db"] ?? null), "table" => // line 131 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 132 $context["partition"], "getName", [], "method", false, false, false, 132)]); // line 133 echo "\"> "; // line 134 echo \PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate")); echo " // line 141 ($context["db"] ?? null), "table" => // line 142 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 143 $context["partition"], "getName", [], "method", false, false, false, 143)]); // line 144 echo "\"> "; // line 145 echo \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo "
"; // line 154 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true); echo " "; // line 155 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true); echo ""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true); echo " "; // line 161 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 162 $context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1); // line 166 echo " "; echo twig_escape_filter($this->env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["data_length"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4[0] ?? null) : null), "html", null, true); echo " "; // line 167 echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["data_length"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[1] ?? null) : null), "html", null, true); echo " "; // line 170 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 171 $context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1); // line 175 echo " "; echo twig_escape_filter($this->env, (($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = ($context["index_length"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e[0] ?? null) : null), "html", null, true); echo " "; // line 176 echo twig_escape_filter($this->env, (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["index_length"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52[1] ?? null) : null), "html", null, true); echo " "; // line 178 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true); echo "
"; } // line 188 echo "

"; // line 191 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " "; // line 193 if (twig_test_empty(($context["partitions"] ?? null))) { // line 194 echo " "; } else { // line 196 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql", ["db" => // line 198 ($context["db"] ?? null), "table" => // line 199 ($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 200 ($context["table"] ?? null))) . " REMOVE PARTITIONING")]), _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]); // line 205 echo " "; } // line 208 echo "
"; } public function getTemplateName() { return "table/structure/display_partitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 473 => 208, 468 => 206, 465 => 205, 463 => 200, 462 => 199, 461 => 198, 459 => 196, 453 => 194, 451 => 193, 446 => 191, 442 => 190, 438 => 188, 433 => 185, 426 => 183, 423 => 182, 414 => 179, 410 => 178, 405 => 176, 400 => 175, 398 => 171, 397 => 170, 391 => 167, 386 => 166, 384 => 162, 383 => 161, 377 => 159, 373 => 157, 371 => 156, 367 => 155, 363 => 154, 359 => 152, 354 => 151, 352 => 150, 349 => 149, 342 => 145, 339 => 144, 337 => 143, 336 => 142, 335 => 141, 332 => 140, 329 => 139, 327 => 138, 320 => 134, 317 => 133, 315 => 132, 314 => 131, 313 => 130, 310 => 129, 302 => 124, 299 => 123, 297 => 122, 296 => 121, 295 => 120, 292 => 119, 284 => 114, 281 => 113, 279 => 112, 278 => 111, 277 => 110, 274 => 109, 266 => 104, 263 => 103, 261 => 102, 260 => 101, 259 => 100, 256 => 99, 248 => 94, 245 => 93, 243 => 92, 242 => 91, 241 => 90, 238 => 89, 230 => 84, 227 => 83, 225 => 82, 224 => 81, 223 => 80, 220 => 79, 214 => 76, 209 => 74, 204 => 73, 202 => 69, 201 => 68, 195 => 65, 190 => 64, 188 => 60, 187 => 59, 181 => 57, 176 => 54, 174 => 53, 172 => 52, 170 => 51, 168 => 50, 165 => 48, 163 => 47, 158 => 46, 152 => 44, 145 => 41, 143 => 40, 138 => 39, 134 => 38, 128 => 34, 126 => 33, 122 => 32, 118 => 31, 114 => 30, 110 => 29, 105 => 28, 99 => 26, 97 => 25, 93 => 24, 87 => 20, 78 => 17, 76 => 16, 73 => 15, 71 => 14, 63 => 12, 61 => 11, 58 => 10, 52 => 8, 50 => 7, 44 => 5, 42 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_partitions.twig", "/var/www/web360/htdocs/leitgedanken_php8/pma/templates/table/structure/display_partitions.twig"); } }