Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4576

I_S temporary table files aren't deleted in Windows - USING ANTIVIRUS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0.3, 5.5.31
    • Fix Version/s: 5.5.32
    • Component/s: None
    • Labels:
      None
    • Environment:
      windows 7 32bits pt-br

      Description

      "select * from <information_schema_table_with_problem>"
      Many times per second (press f5 in heidisql and leave pressed) or run many commands in mysql command line

      Give errors some times, errcode=13 (no permission?) sql err=6 (problem deleting file) , and files stay in filesystem "forever", only with admin tasks we can remove the file

      show warnings
      "Level" "Code" "Message"
      "Error" "6" "Error on delete of 'C:\Users\Beto\AppData\Local\Temp#sqlc24_7_1a6.MAD' (Errcode: 13)"


      temporary file isn't deleted
      my temporary folder have about 10 files like this
      #sqlc24_7_16e.MAD
      #sqlc24_7_16c.MAD
      #sqlc24_7_2d4.MAD
      #sqlc24_7_2b8.MAD


      <information_schema_table_with_problem> are (in mariadb10.0.2):
      QUERY_CACHE_INFORMATION (qc_info without patch of MDEV-4581)
      STATISTICS
      EVENTS
      KEY_COLUMN_USAGE
      PARAMETERS
      PARTITIONS
      PLUGINS
      REFERENTIAL_CONSTRAINTS
      ROUTINES
      TABLES
      TABLE_CONSTRAINTS
      TRIGGERS

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            rspadim roberto spadim added a comment -

            downloaded, i will start tests

            Show
            rspadim roberto spadim added a comment - downloaded, i will start tests
            Hide
            rspadim roberto spadim added a comment -

            2640 queries and no error....
            i will test more times and send a procmon to ensure that mdev was solved =]

            Show
            rspadim roberto spadim added a comment - 2640 queries and no error.... i will test more times and send a procmon to ensure that mdev was solved =]
            Hide
            rspadim roberto spadim added a comment -

            procmon xml file, used 7z compression with ultra, since zip was 50MB and couldn't be uploaded (max of 10MB in jira)
            the xml have 850MB
            the patch worked and no error was sent to mysql client, temporary files are deleted from temporary path
            now everything is ok =) very nice job vladislav! thanks!

            Show
            rspadim roberto spadim added a comment - procmon xml file, used 7z compression with ultra, since zip was 50MB and couldn't be uploaded (max of 10MB in jira) the xml have 850MB the patch worked and no error was sent to mysql client, temporary files are deleted from temporary path now everything is ok =) very nice job vladislav! thanks!
            Hide
            rspadim roberto spadim added a comment -

            check that 10.0.3 have the same problem

            Show
            rspadim roberto spadim added a comment - check that 10.0.3 have the same problem
            Hide
            wlad Vladislav Vaintroub added a comment -

            fixed in 5.5 (all fixes are merged up to higher version, so it will be in 10.0 too)

            Show
            wlad Vladislav Vaintroub added a comment - fixed in 5.5 (all fixes are merged up to higher version, so it will be in 10.0 too)

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                rspadim roberto spadim
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h