📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: opt_rewrite_date_cmp.h
/* Copyright (c) 2023, MariaDB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #ifndef OPT_REWRITE_DATE_CMP_INCLUDED #define OPT_REWRITE_DATE_CMP_INCLUDED class Item_func_eq; class Item_func_ge; class Item_func_gt; class Item_func_le; class Item_func_lt; class Item_bool_rowready_func2; /* @brief Class responsible for rewriting datetime comparison condition. It rewrites non-sargable conditions into sargable. @detail The intent of this class is to do equivalent rewrites as follows: YEAR(col) <= val -> col <= year_end(val) YEAR(col) < val -> col < year_start(val) YEAR(col) >= val -> col >= year_start(val) YEAR(col) > val -> col > year_end(val) YEAR(col) = val -> col >= year_start(val) AND col<=year_end(val) Also the same is done for comparisons with DATE(col): DATE(col) <= val -> col <= day_end(val) if col has a DATE type (not DATETIME), then the rewrite becomes: DATE(col) <= val -> col <= val @usage Date_cmp_func_rewriter rwr(thd, item_func); Item *new_item= rwr.get_rewrite_result(); Returned new_item points to an item that item_func was rewritten to. new_item already has fixed fields (fix_fields() was called). If no rewrite happened, new_item points to the initial item_func parameter @todo Also handle conditions in form "YEAR(date_col) BETWEEN 2014 AND 2017" and "YEAR(col) = c1 AND MONTH(col) = c2" */ class Date_cmp_func_rewriter { public: Date_cmp_func_rewriter(THD* thd, Item_func_eq *item_func); Date_cmp_func_rewriter(THD* thd, Item_func_ge *item_func); Date_cmp_func_rewriter(THD* thd, Item_func_gt *item_func); Date_cmp_func_rewriter(THD* thd, Item_func_le *item_func); Date_cmp_func_rewriter(THD* thd, Item_func_lt *item_func); Item* get_rewrite_result() const { return result; } Date_cmp_func_rewriter() = delete; Date_cmp_func_rewriter(const Date_cmp_func_rewriter&) = delete; Date_cmp_func_rewriter(Date_cmp_func_rewriter&&) = delete; private: bool check_cond_match_and_prepare(Item_bool_rowready_func2 *item_func); Item_field *is_date_rounded_field(Item* item, const Type_handler *comparison_type, Item_func::Functype *out_func_type) const; void rewrite_le_gt_lt_ge(); Item *create_bound(uint month, uint day, const TimeOfDay6 &td) const; Item *create_start_bound() const { return create_bound(1, 1, TimeOfDay6()); } Item *create_end_bound() const { return create_bound(12, 31, TimeOfDay6::end_of_day(field_ref->decimals)); } Item *create_cmp_func(Item_func::Functype func_type, Item *arg1, Item *arg2); THD *thd= nullptr; Item *const_arg_value= nullptr; Item_func::Functype rewrite_func_type= Item_func::UNKNOWN_FUNC; Item_func::Functype argument_func_type= Item_func::UNKNOWN_FUNC; Item_field *field_ref= nullptr; Item *result= nullptr; }; void trace_date_item_rewrite(THD *thd,Item *new_item, Item *old_item); template<typename T> Item* do_date_conds_transformation(THD *thd, T *item) { Date_cmp_func_rewriter rwr(thd, item); /* If the rewrite failed for some reason, we get the original item */ Item *new_item= rwr.get_rewrite_result(); trace_date_item_rewrite(thd, new_item, item); return new_item; } #endif
Save