| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼa�_ � @ s� d Z dZdZdZdZdZedkr�ddlZdd lm Z dd
l
mZ dZed Z
ed
Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Ze� dS )z�
pygments.lexers._mysql_builtins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Self-updating data files for the MySQL lexer.
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)�false�null�true�unknown)<Zbigint�bit�boolZbooleanZdecZdecimalZdouble�fixed�floatZfloat4Zfloat8�intZint1Zint2Zint3Zint4Zint8ZintegerZ mediumintZ middleintZnumericZ precision�real�serialZsmallintZtinyint�dateZdatetime�timeZ timestampZyearZbinaryZblob�char�enumZlongZlongblobZlongtextZ
mediumblobZ
mediumtextZnationalZncharZnvarchar�set�textZtinyblobZtinytextZ varbinaryZvarcharZvarcharacterZvaryingZgeometryZgeometrycollectionZ
linestringZmultilinestringZ
multipointZmultipolygonZpointZpolygonZjson(u �absZacosZadddateZaddtimeZaes_decryptZaes_encryptZ any_valueZasinZatanZatan2Z benchmark�binZbin_to_uuidZbit_andZ bit_count�
bit_lengthZbit_orZbit_xorZcan_access_columnZcan_access_databaseZcan_access_eventZcan_access_resource_groupZcan_access_routineZcan_access_tableZcan_access_triggerZcan_access_view�castZceilZceilingZchar_lengthZcharacter_lengthZcoercibility�compress�concatZ concat_wsZ
connection_id�convZconvert_cpu_id_maskZ!convert_interval_to_user_intervalZ
convert_tzZcosZcot�count�crc32ZcurdateZcurrent_roleZcurtimeZdate_addZdate_formatZdate_subZdatediffZdaynameZ
dayofmonthZ dayofweekZ dayofyearZdegrees�eltZexpZ
export_set�extractZextractvalueZfieldZfind_in_setZfloorZformat_bytesZformat_pico_timeZ
found_rowsZfrom_base64Z from_daysZ
from_unixtimeZget_dd_column_privilegesZget_dd_create_optionsZget_dd_index_private_dataZget_dd_index_sub_part_lengthZget_dd_property_key_valueZget_dd_tablespace_private_dataZget_lockZgreatestZgroup_concatZgtid_subsetZ
gtid_subtract�hexZicu_versionZifnullZ
inet6_atonZ
inet6_ntoaZ inet_atonZ inet_ntoaZinstrZinternal_auto_incrementZinternal_avg_row_lengthZinternal_check_timeZinternal_checksumZinternal_data_freeZinternal_data_lengthZinternal_dd_char_lengthZinternal_get_comment_or_errorZinternal_get_dd_column_extraZinternal_get_enabled_role_jsonZinternal_get_hostnameZ!internal_get_mandatory_roles_jsonZ internal_get_partition_nodegroupZinternal_get_usernameZ"internal_get_view_warning_or_errorZ!internal_index_column_cardinalityZinternal_index_lengthZinternal_is_enabled_roleZinternal_is_mandatory_roleZinternal_keys_disabledZinternal_max_data_lengthZinternal_table_rowsZ#internal_tablespace_autoextend_sizeZinternal_tablespace_data_freeZinternal_tablespace_extent_sizeZinternal_tablespace_extraZ internal_tablespace_free_extentsZinternal_tablespace_idZ internal_tablespace_initial_sizeZ&internal_tablespace_logfile_group_nameZ(internal_tablespace_logfile_group_numberZ internal_tablespace_maximum_sizeZinternal_tablespace_row_formatZinternal_tablespace_statusZ!internal_tablespace_total_extentsZinternal_tablespace_typeZinternal_tablespace_versionZinternal_update_timeZis_free_lockZis_ipv4Zis_ipv4_compatZis_ipv4_mappedZis_ipv6Zis_used_lockZis_uuidZis_visible_dd_objectZisnullZ
json_arrayZjson_array_appendZjson_array_insertZ
json_arrayaggZ
json_containsZjson_contains_pathZ
json_depthZjson_extractZjson_insertZ json_keysZjson_lengthZ
json_mergeZjson_merge_patchZjson_merge_preserveZjson_objectZjson_objectaggZ
json_overlapsZjson_prettyZ
json_quoteZjson_removeZjson_replaceZjson_schema_validZjson_schema_validation_reportZjson_searchZjson_setZjson_storage_freeZjson_storage_sizeZ json_typeZjson_unquoteZ
json_validZlast_dayZlast_insert_idZlcaseZleast�lengthZlike_range_maxZlike_range_minZlnZ load_fileZlocate�logZlog10Zlog2�lowerZlpadZltrimZmake_setZmakedateZmaketimeZmaster_pos_wait�maxZmbrcontainsZmbrcoveredbyZ mbrcoversZmbrdisjointZ mbrequalsZ
mbrintersectsZmbroverlapsZ
mbrtouchesZ mbrwithinZmd5Zmid�minZ monthnameZ
name_constZnowZnullif�octZoctet_length�ordZ
period_addZperiod_diffZpiZposition�powZpowerZps_current_thread_idZps_thread_id�quoteZradiansZrandZrandom_bytesZregexp_instrZregexp_likeZregexp_replaceZ
regexp_substrZrelease_all_locks�release_lockZremove_dd_property_key�reverseZ
roles_graphml�roundZrpadZrtrimZsec_to_timeZsession_userZshaZsha1Zsha2�signZsin�sleepZsoundex�spaceZsqrtZst_areaZst_asbinaryZst_asgeojsonZ st_astextZst_aswkbZst_aswktZ st_bufferZst_buffer_strategyZst_centroidZst_containsZ
st_convexhullZ
st_crossesZ
st_differenceZst_dimensionZst_disjointZst_distanceZst_distance_sphereZst_endpointZst_envelopeZ st_equalsZst_exteriorringZ
st_geohashZst_geomcollfromtextZst_geomcollfromtxtZst_geomcollfromwkbZst_geometrycollectionfromtextZst_geometrycollectionfromwkbZst_geometryfromtextZst_geometryfromwkbZst_geometrynZst_geometrytypeZst_geomfromgeojsonZst_geomfromtextZst_geomfromwkbZst_interiorringnZst_intersectionZ
st_intersectsZst_isclosedZ
st_isemptyZst_issimpleZ
st_isvalidZst_latfromgeohashZst_latitudeZ st_lengthZst_linefromtextZst_linefromwkbZst_linestringfromtextZst_linestringfromwkbZst_longfromgeohashZst_longitudeZst_makeenvelopeZst_mlinefromtextZst_mlinefromwkbZst_mpointfromtextZst_mpointfromwkbZst_mpolyfromtextZst_mpolyfromwkbZst_multilinestringfromtextZst_multilinestringfromwkbZst_multipointfromtextZst_multipointfromwkbZst_multipolygonfromtextZst_multipolygonfromwkbZst_numgeometriesZst_numinteriorringZst_numinteriorringsZst_numpointsZst_overlapsZst_pointfromgeohashZst_pointfromtextZst_pointfromwkbZ st_pointnZst_polyfromtextZst_polyfromwkbZst_polygonfromtextZst_polygonfromwkbZst_simplifyZst_sridZ
st_startpointZ st_swapxyZst_symdifferenceZ
st_touchesZst_transformZst_unionZst_validateZ st_withinZst_xZst_yZstatement_digestZstatement_digest_textZstdZstddevZ
stddev_popZstddev_sampZstr_to_dateZstrcmpZsubdateZsubstrZ substringZsubstring_indexZsubtime�sumZsysdateZsystem_userZtanZtime_formatZtime_to_secZtimediffZ to_base64Zto_daysZ
to_secondsZtrimZucaseZ
uncompressZuncompressed_lengthZunhexZunix_timestampZ updatexml�upperZuuidZ
uuid_shortZuuid_to_binZvalidate_password_strengthZvar_popZvar_sampZvariance�versionZwait_for_executed_gtid_setZ!wait_until_sql_thread_after_gtidsZweekdayZ
weekofyearZyearweek)(ZbkaZbnlZdupsweedoutZ
firstmatchZgroup_indexZ hash_join�indexZindex_mergeZ
intoexistsZjoin_fixed_orderZ
join_indexZ
join_orderZjoin_prefixZjoin_suffixZ loosescanZmaterializationZmax_execution_time�mergeZmrrZno_bkaZno_bnlZno_group_indexZno_hash_joinZno_icpZno_indexZno_index_mergeZ
no_join_indexZno_mergeZno_mrrZno_order_indexZno_range_optimizationZno_semijoinZno_skip_scanZorder_indexZqb_nameZresource_groupZsemijoinZset_varZ skip_scanZsubquery(� Z
accessibleZaccount�actionZactive�addZadminZafterZagainstZ aggregate� algorithm�allZalter�alwaysZanalyze�and�anyZarray�asZasc�asciiZ
asensitiveZatZ attributeZauto_incrementZautoextend_sizeZavgZavg_row_lengthZbackup�beforeZbeginZbetweenZbinlog�blockZbothZbtreeZbucketsZbyZbyte�cache�callZcascadeZcascadedZcaseZcatalog_name�chainZchangeZchangedZchannel� character�charset�checkZchecksumZcipherZclass_originZclientZclone�closeZcoalesce�codeZcollateZ collation�columnZ
column_formatZcolumn_name�columnsZcommentZcommitZ committedZcompactZ
completionZ component�
compressed�compression�
concurrentZ conditionZ
connectionZ
consistentZ
constraintZconstraint_catalogZconstraint_nameZconstraint_schema�contains�context�continueZconvertZcpuZcreateZcrossZcubeZ cume_dist�currentZcurrent_dateZcurrent_timeZcurrent_timestampZcurrent_userZcursorZcursor_name�dataZdatabaseZ databasesZdatafileZdayZday_hourZday_microsecondZ
day_minuteZ
day_secondZ
deallocateZdeclare�defaultZdefault_authZdefinerZ
definitionZdelay_key_writeZdelayed�deleteZ
dense_rankZdescZdescribe�descriptionZ
deterministicZdiagnosticsZ directoryZdisable�discardZdiskZdistinctZdistinctrowZdivZdoZdropZdualZdumpfileZ duplicateZdynamicZeach�elseZelseif�emptyZenableZenclosedZ
encryption�endZendsZenforcedZengineZengine_attributeZengines�error�errors�escapeZescapedZeventZeventsZevery�exceptZexchangeZexcludeZexecute�exists�exitZ expansionZexpireZexplainZexportZextendedZextent_sizeZfailed_login_attemptsr ZfastZfaultsZfetch�fields�fileZfile_block_size�filter�firstZfirst_value�flushZ followingZfollows�for�forceZforeign�format�found�fromZfullZfulltext�functionZgeneralZ generatedZgeomcollection�getZ
get_formatZget_master_public_key�globalZgrantZgrants�groupZgroup_replication�grouping�groupsZhandler�hashZhaving�helpZ
high_priorityZ histogram�history�hostZhostsZhourZhour_microsecondZhour_minuteZhour_secondZ
identified�if�ignoreZignore_server_ids�import�inZinactiver0 ZindexesZinfileZinitial_size�innerZinoutZinsensitive�insertZ
insert_method�install�instance�intervalZintoZ invisibleZinvoker�ioZio_after_gtidsZio_before_gtidsZ io_threadZipc�isZ isolationZissuerZiterate�joinZ
json_tableZ
json_value�keyZkey_block_size�keys�killZlag�languageZlast�
last_valueZlateralZleadZleadingZleaveZleaves�leftZless�levelZlike�limitZlinear�lines�list�load�local� localtimeZlocaltimestamp�lock�locked�locksZlogfileZlogsZloopZlow_priorityZmasterZmaster_auto_positionZmaster_bindZmaster_compression_algorithmsZmaster_connect_retryZmaster_delayZmaster_heartbeat_periodZmaster_hostZmaster_log_fileZmaster_log_posZmaster_passwordZmaster_portZmaster_public_key_pathZmaster_retry_countZmaster_server_idZ
master_sslZ
master_ssl_caZmaster_ssl_capathZmaster_ssl_certZmaster_ssl_cipherZmaster_ssl_crlZmaster_ssl_crlpathZmaster_ssl_keyZmaster_ssl_verify_server_certZmaster_tls_ciphersuitesZmaster_tls_versionZmaster_userZmaster_zstd_compression_level�matchZmax_connections_per_hourZmax_queries_per_hourZmax_rowsZmax_sizeZmax_updates_per_hourZmax_user_connectionsZmaxvalueZmedium�memberZmemoryr1 Zmessage_textZmicrosecondZmigrateZmin_rowsZminuteZminute_microsecondZ
minute_second�mod�modeZmodifiesZmodifyZmonthZmutexZmysql_errno�name�namesZnaturalZndbZ
ndbcluster�nestedZnetwork_namespace�never�new�next�noZno_waitZno_write_to_binlogZ nodegroupZnone�notZnowaitZ nth_valueZntiler ZnullsZnumberZofZoff�offsetZoj�oldZonZoneZonly�open�optimizeZoptimizer_costs�optionZoptionalZ
optionally�options�or�orderZ
ordinalityZorganizationZothers�outZouterZoutfileZover�ownerZ pack_keysZpage�parser�partial� partitionZpartitioningZ
partitions�passwordZpassword_lock_time�pathZpercent_rankZpersistZpersist_onlyZphaseZpluginZ
plugin_dirZplugins�port�precedesZ precedingZprepareZpreserve�prevZprimaryZprivilege_checks_userZ
privilegesZ procedureZprocessZprocesslistZprofileZprofiles�proxy�purgeZquarter�queryZquickZrandom�rangeZrank�readZ read_onlyZ
read_writeZreadsZrebuildZrecover� recursiveZredo_buffer_sizeZ redundantZ referenceZ
referencesZregexpZrelayZrelay_log_fileZ
relay_log_posZrelay_threadZrelaylog�release�reload�remove�renameZ
reorganizeZrepair�repeatZ
repeatable�replaceZreplicate_do_dbZreplicate_do_tableZreplicate_ignore_dbZreplicate_ignore_tableZreplicate_rewrite_dbZreplicate_wild_do_tableZreplicate_wild_ignore_tableZreplicationZrequireZrequire_row_formatZrequire_table_primary_key_check�resetZresignal�resourceZrespectZrestartZrestoreZrestrictZresumeZretain�returnZreturned_sqlstateZ returning�returnsZreuser( Zrevoke�rightZrlikeZroleZrollbackZrollup�rotateZroutine�rowZ row_countZ
row_formatZ
row_numberZrowsZrtreeZ savepointZscheduleZschemaZschema_nameZschemas�secondZsecond_microsecondZ secondaryZsecondary_engineZsecondary_engine_attributeZsecondary_loadZsecondary_unloadZsecurityZselectZ sensitive� separatorZserializableZserverZsessionZshareZshowZshutdown�signalZsigned�simple�skipZslaveZslowZsnapshotZsocketZsomeZsonameZsounds�sourceZspatialZspecificZsqlZsql_after_gtidsZsql_after_mts_gapsZsql_before_gtidsZsql_big_resultZsql_buffer_resultZsql_calc_found_rowsZsql_no_cacheZsql_small_resultZ
sql_threadZsql_tsi_dayZsql_tsi_hourZsql_tsi_minuteZ
sql_tsi_monthZsql_tsi_quarterZsql_tsi_secondZsql_tsi_weekZsql_tsi_yearZsqlexceptionZsqlstateZ
sqlwarningZsridZsslZstacked�startZstartingZstartsZstats_auto_recalcZstats_persistentZstats_sample_pages�status�stopZstorageZstoredZ
straight_join�stream�stringZsubclass_originZsubjectZsubpartitionZ
subpartitions�superZsuspendZswapsZswitches�system�tableZtable_checksumZ
table_nameZtablesZ
tablespaceZ temporaryZ temptableZ
terminatedZthanZthenZthread_priorityZtiesZtimestampaddZ
timestampdiffZtls�toZtrailingZtransactionZtriggerZtriggersr �truncate�type�typesZ unboundedZuncommittedZ undefinedZundoZundo_buffer_sizeZundofileZunicodeZ uninstall�union�uniquer ZunlockZunsignedZuntil�updateZupgrade�usageZuseZuse_frm�userZuser_resourcesZusingZutc_dateZutc_timeZ
utc_timestampZ
validation�value�valuesZ variablesZvcpu�viewZvirtualZvisible�wait�warningsZweekZ
weight_stringZwhen�where�whileZwindow�withZwithoutZwork�wrapper�writeZx509ZxaZxidZxml�xorZ
year_monthZzerofill�__main__� N)�urlopen)�format_linesz-https://github.com/mysql/mysql-server/raw/8.0z
/sql/lex.hz/sql/item_create.ccc C s� t t��� jddd�} t| �}t| �}t| �}t t��� jddd�}|�t |�� |t
t�8 }tdt
t|��� tdt
t|��� tdt
t|��� d S )N�utf8rq )rW �MYSQL_FUNCTIONS�MYSQL_KEYWORDS�MYSQL_OPTIMIZER_HINTS)r� �LEX_URLr� �decode�parse_lex_keywords�parse_lex_functions�parse_lex_optimizer_hints�ITEM_CREATE_URLr� �parse_item_create_functionsr �MYSQL_DATATYPES�update_content�tuple�sorted)Zlex_file�keywordsZ functionsZoptimizer_hintsZitem_create_file� r� �C/usr/lib/python3.9/site-packages/pygments/lexers/_mysql_builtins.py�
update_myself� s r� c C sB t � }tjd| tjd�D ]}|�|�d��� � q|s>td��|S )zParse keywords in lex.h.z({SYM(?:_HK)?\("(?P<keyword>[a-z0-9_]+)",��flags�keywordzNo keywords found�r �re�finditer�Ir3 ri r �
ValueError��f�results�mr� r� r� r� � s r� c C sB t � }tjd| tjd�D ]}|�|�d��� � q|s>td��|S )zParse optimizer hints in lex.h.z"{SYM_H\("(?P<keyword>[a-z0-9_]+)",r� r� zNo optimizer hints foundr� r� r� r� r� r� � s r� c C sB t � }tjd| tjd�D ]}|�|�d��� � q|s>td��|S )z&Parse MySQL function names from lex.h.z%{SYM_FN?\("(?P<function>[a-z0-9_]+)",r� rf zNo lex functions foundr� r� r� r� r� r� � s r� c C sB t � }tjd| tjd�D ]}|�|�d��� � q|s>td��|S )z/Parse MySQL function names from item_create.cc.z({"(?P<function>[^"]+?)",\s*SQL_F[^(]+?\(r� rf zNo item_create functions foundr� r� r� r� r� r� � s r� c C s� t t��}|�� }W d � n1 s&0 Y t�d| tjtjB �}|�|�}|sbtd| ��t | |�}|d|�
� � | ||�� d� }t tddd��}|�|� W d � n1 s�0 Y dS )zAOverwrite this file with content parsed from MySQL's source code.Nz^%s\s*=\s*\($.*?^\s*\)$z,Could not find an existing definition for %s�w�
)�newline)
r� �__file__r� r� �compile�M�S�searchr� r� r� rU r� )�
field_nameZcontentr� rN Zre_matchr Z new_blockr� r� r� r� � s
&
$r� )�__doc__ZMYSQL_CONSTANTSr� r� r� r� �__name__r� Zurllib.requestr� Z
pygments.utilr� Z
SOURCE_URLr� r� r� r� r� r� r� r� r� r� r� r� �<module> s4 L {,