[MDEV-32023] main.secure_file_priv_win fails with 2nd execution PS protocol Created: 2023-08-27  Updated: 2023-10-12  Resolved: 2023-10-10

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.4, 10.5, 10.6, 10.10, 10.11, 11.0, 11.1
Fix Version/s: 10.4.32, 10.5.23, 10.6.16, 10.10.7, 10.11.6, 11.0.4, 11.1.3, 11.2.2

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Lena Startseva
Resolution: Fixed Votes: 0
Labels: None


 Description   

main.secure_file_priv_win                w2 [ fail ]
        Test ended at 2023-08-25 12:32:44
 
CURRENT_TEST: main.secure_file_priv_win
mysqltest: At line 17: query 'SELECT * INTO OUTFILE '$MYSQL_TMP_DIR/B11764517.tmp' FROM t1' failed: ER_FILE_EXISTS_ERROR (1086): File 'C:/Users/jenkins/workspace/Source-Build-Test/src/mysql-test/var/tmp/2/B11764517.tmp' already exists

The same should be true for any "SELECT .. INTO OUTFILE", so maybe it makes sense to skip it in the 2nd execution altogether rather than disable it on case-by-case basis.



 Comments   
Comment by Lena Startseva [ 2023-08-28 ]

Fixed in branch bb-10.4-MDEV-32023
In MariaDB ES this problem fixed in versions 10.4-enterprise, 10.5-enterprise, 10.6-enterprise, but not in 23.08-enterprise

Comment by Oleksandr Byelkin [ 2023-09-11 ]

OK to push

Comment by Lena Startseva [ 2023-10-10 ]

Pushed

Generated at Thu Feb 08 10:28:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.