+
    Tj                     L    ^ RI t ^ RIt^ RIt^ RIHt ^RIHt  ! R R]4      tR# )    N)BaseDatabaseCreation)DatabaseClientc                   L   a a ] tR t^
t oR tRV 3R lltRR ltR tRtVt	V ;t
# )DatabaseCreationc                   . pV P                   P                  R ,          pVR,          '       d    VP                  RVR,          ,          4       VR,          '       d    VP                  RVR,          ,          4       RP                  V4      # )TESTCHARSETzCHARACTER SET %s	COLLATIONz
COLLATE %s )
connectionsettings_dictappendjoin)selfsuffixtest_settingss   &  V/var/www/idalgo/venv/lib/python3.14/site-packages/django/db/backends/mysql/creation.pysql_table_creation_suffix*DatabaseCreation.sql_table_creation_suffix   sm    55f=##MM,}Y/GGH%%MM,{)CCDxx    c                  <  \         SV `  WV4       R#   \         dm   p\        TP                  4      ^8  g   TP                  ^ ,          R8w  d5   T P                  RT,          4       \        P                  ! ^4        Rp?R# h Rp?ii ; i)   i  z+Got an error creating the test database: %sN)super_execute_create_test_db	Exceptionlenargslogsysexit)r   cursor
parameterskeepdbe	__class__s   &&&& r   r   (DatabaseCreation._execute_create_test_db   sg    	G+FG 	166{Q!&&)t"3FJK	s    BA BBBc           
        V P                   P                  R ,          pV P                  V4      R ,          pRV P                   P                  P	                  V4      RV P                  4       /pV P                  4       ;_uu_ 4       p V P                  WvV4       RRR4       T P                  YE4       R#   \         d    T'       d    RRR4       R#  T^8  d&   T P                  RT P                  Y%4      : R24       TP                  RT,          4       T P                  YvT4        L  \         d:   pT P                  RT,          4       \        P                  ! ^4        Rp? LRp?ii ; ii ; i  + '       g   i     L; i)NAMEdbnamer   Nz'Destroying old test database for alias z...zDROP DATABASE %(dbname)sz-Got an error recreating the test database: %s)r   r   get_test_db_clone_settingsops
quote_namer   _nodb_cursorr   r   r   _get_database_display_strexecuter   r    	_clone_db)	r   r   	verbosityr#   source_database_nametarget_database_nametest_db_paramsr!   r$   s	   &&&&     r   _clone_test_dbDatabaseCreation._clone_test_db   sD   #<<VD#>>vFvNdoo))445IJd446
   F ,,VVL !, 	+B'    !   A~ !% > >$-!" NN#=#NO00P   HHLqPQHHQKK !  ! sU   E6B44E3E6AD+)E6+E/	6.E*	$E3(E6*E/	/E33E66F	c           
     8   \         P                  ! V P                  P                  . 4      w  r4R .V^R
 ORNRNVNpV'       d   / \        P
                  CVCMR;rgTpW(R
&   \        P                  ! V\        P                  \        P                  VR7      ;_uu_ 4       p	\        P                  ! VV	P                  \        P                  \        P                  VR7      ;_uu_ 4       p
V	P                  P                  4        V	P                  P                  4       P                  RR7      pV
P                  P                  4       P                  RR7      pRRR4       RRR4       X	P                  ^ 8w  d5   V P!                  RX 24       \"        P$                  ! V	P                  4       X
P                  ^ 8w  d7   V P!                  R	X 24       \"        P$                  ! V
P                  4       R# R#   + '       g   i     L; i  + '       g   i     L; i)	mysqldumpz
--routinesz--eventsN)stdoutstderrenv)stdinr9   r:   r;   replace)errorsz:Got an error on mysqldump when cloning the test database: z(Got an error cloning the test database: )r   settings_to_cmd_args_envr   r   osenviron
subprocessPopenPIPEr9   DEVNULLcloser:   readdecode
returncoder   r   r    )r   r2   r3   cmd_argscmd_envdump_cmddump_envload_envload_cmd	dump_proc	load_procdump_errload_errs   &&&          r   r0   DatabaseCreation._clone_db>   s   *CCOO))2
 
a^
 
 	

 !
 <C77w7L+ h &&!))!   ""$ '',,.55Y5GH '',,.55Y5GH 1$HHLXJW HHY))*1$HH?zJKHHY))* %#  s&   A
H	)A/G6	H	6HH		H	 )F)__name__
__module____qualname____firstlineno__r   r   r5   r0   __static_attributes____classdictcell____classcell__)r%   __classdict__s   @@r   r   r   
   s      	C>&+ &+r   r   )rA   rC   r    django.db.backends.base.creationr   clientr   r   rV   r   r   <module>ra      s#    	  
 A "Z++ Z+r   