X7ROOT File Manager
Current Path:
/usr/include/mysql/server/mysql
usr
/
include
/
mysql
/
server
/
mysql
/
ðŸ“
..
📄
auth_dialog_client.h
(2.01 KB)
📄
client_plugin.h
(6.18 KB)
📄
plugin.h
(29.19 KB)
📄
plugin_audit.h
(5.41 KB)
📄
plugin_auth.h
(5.27 KB)
📄
plugin_auth_common.h
(4.4 KB)
📄
plugin_data_type.h
(1.27 KB)
📄
plugin_encryption.h
(4.33 KB)
📄
plugin_ftparser.h
(7.65 KB)
📄
plugin_function.h
(1.4 KB)
📄
plugin_password_validation.h
(1.52 KB)
ðŸ“
psi
📄
service_base64.h
(2.86 KB)
📄
service_debug_sync.h
(13.26 KB)
📄
service_encryption.h
(5.52 KB)
📄
service_encryption_scheme.h
(5.51 KB)
📄
service_json.h
(4.44 KB)
📄
service_kill_statement.h
(2.02 KB)
📄
service_log_warnings.h
(1.34 KB)
📄
service_logger.h
(3.47 KB)
📄
service_md5.h
(2.07 KB)
📄
service_my_crypt.h
(4.07 KB)
📄
service_my_print_error.h
(2.27 KB)
📄
service_my_snprintf.h
(3.63 KB)
📄
service_progress_report.h
(3.28 KB)
📄
service_sha1.h
(2.11 KB)
📄
service_sha2.h
(5.17 KB)
📄
service_sql.h
(5.01 KB)
📄
service_thd_alloc.h
(4.38 KB)
📄
service_thd_autoinc.h
(1.65 KB)
📄
service_thd_error_context.h
(3.34 KB)
📄
service_thd_mdl.h
(1.25 KB)
📄
service_thd_rnd.h
(1.86 KB)
📄
service_thd_specifics.h
(3.6 KB)
📄
service_thd_timezone.h
(2.24 KB)
📄
service_thd_wait.h
(3.61 KB)
📄
service_wsrep.h
(13.83 KB)
📄
services.h
(1.72 KB)
Editing: service_thd_timezone.h
#ifndef MYSQL_SERVICE_THD_TIMEZONE_INCLUDED /* Copyright (C) 2013 MariaDB Foundation. 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 St, Fifth Floor, Boston, MA 02110-1335 USA */ /** @file This service provides functions to convert between my_time_t and MYSQL_TIME taking into account the current value of the time_zone session variable. The values of the my_time_t type are in Unix timestamp format, i.e. the number of seconds since "1970-01-01 00:00:00 UTC". The values of the MYSQL_TIME type are in the current time zone, according to thd->variables.time_zone. If the MYSQL_THD parameter is NULL, then global_system_variables.time_zone is used for conversion. */ #ifndef MYSQL_ABI_CHECK /* This service currently does not depend on any system headers. If it needs system headers in the future, make sure to put them inside this ifndef. */ #endif #include "mysql_time.h" #ifdef __cplusplus extern "C" { #endif extern struct thd_timezone_service_st { my_time_t (*thd_TIME_to_gmt_sec)(MYSQL_THD thd, const MYSQL_TIME *ltime, unsigned int *errcode); void (*thd_gmt_sec_to_TIME)(MYSQL_THD thd, MYSQL_TIME *ltime, my_time_t t); } *thd_timezone_service; #ifdef MYSQL_DYNAMIC_PLUGIN #define thd_TIME_to_gmt_sec(thd, ltime, errcode) \ (thd_timezone_service->thd_TIME_to_gmt_sec((thd), (ltime), (errcode))) #define thd_gmt_sec_to_TIME(thd, ltime, t) \ (thd_timezone_service->thd_gmt_sec_to_TIME((thd), (ltime), (t))) #else my_time_t thd_TIME_to_gmt_sec(MYSQL_THD thd, const MYSQL_TIME *ltime, unsigned int *errcode); void thd_gmt_sec_to_TIME(MYSQL_THD thd, MYSQL_TIME *ltime, my_time_t t); #endif #ifdef __cplusplus } #endif #define MYSQL_SERVICE_THD_TIMEZONE_INCLUDED #endif
Upload File
Create Folder