kaxil commented on issue #43690:
URL: https://github.com/apache/airflow/issues/43690#issuecomment-2459947448

   I am not able to rreproduce this:
   
   MySQL: `8.0.40`
   
   ```
   irflow> SELECT VERSION()
   [2024-11-06 14:45:01] 1 row retrieved starting from 1 in 34 ms (execution: 
13 ms, fetching: 21 ms)
   airflow> set @var=if((SELECT true FROM information_schema.TABLE_CONSTRAINTS 
WHERE
                CONSTRAINT_SCHEMA = DATABASE() AND
                TABLE_NAME        = 'connection' AND
                CONSTRAINT_NAME   = 'unique_conn_id' AND
                CONSTRAINT_TYPE   = 'UNIQUE') = true,'ALTER TABLE connection
                DROP INDEX unique_conn_id','select 1')
   [2024-11-06 14:45:06] completed in 3 ms
   airflow> prepare stmt from @var
   [2024-11-06 14:45:06] completed in 2 ms
   airflow> execute stmt
   [2024-11-06 14:45:06] 1 row retrieved starting from 1 in 18 ms (execution: 4 
ms, fetching: 14 ms)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to