https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/trac/upgrades/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/trac/upgrades/__pycache__/db38.cpython-310.pyc
o

�k�`�@s,ddlmZddlmZmZmZdd�ZdS)�)�DatabaseManager)�Column�Index�Tablec
Cs�t|���\}}tddd�tddd�tddd�td	d
d�tdd
d�tddd�tddd�td�td�tgd��tgd��f
}|j�*|�d�|�d�|�|�D]}|�|�qQ|�d�|�d�Wd�dS1snwYdS)z�Add an auto-increment primary key to `node_change` table and indices
    (repos, rev, path) and (repos, path, rev) (#3676).
    �node_change�id)�keyT)�auto_increment�repos�int)�type�rev�()�key_size�path��	node_type�)�size�change_type�	base_path�base_rev)r
r
r)r
rr
z]CREATE TEMPORARY TABLE node_change_old AS
                          SELECT * FROM node_changezDROP TABLE node_changez�            INSERT INTO node_change
            (repos,rev,path,node_type,change_type,base_path,base_rev)
            SELECT repos,rev,path,node_type,change_type,base_path,base_rev
            FROM node_change_oldzDROP TABLE node_change_oldN)r�
get_connectorrrr�db_transaction�execute�to_sql)�env�ver�cursor�db_connector�_�table�stmt�r#�4/usr/lib/python3/dist-packages/trac/upgrades/db38.py�
do_upgrades,








��


"�r%N)�trac.db.apir�trac.db.schemarrrr%r#r#r#r$�<module>s


https://t.me/RX1948 - 2025