Different behaviors between MYISAM and MEMORY

Description

Start two Percona servers and create database test.

Then use the following two scripts to create the table (create-MYISAM.sql and create-MEMORY.sql). The only difference is that the engine is different.

Then the same select statement is executed separately, and the returned results are inconsistent. 

 

MYISAM:

Empty set (0.00 sec)

 

MEMORY:

------------------------+

c0  

c1  

c2  

c3  

------------------------+

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

------------------------+

4 rows in set (0.00 sec)

 

These are simple database operations, there should not be such inconsistent behavior.

Environment

None

Attachments

5

Activity

Show:

Aaditya Dubey November 2, 2023 at 10:11 AM

Hi ,

Thank you for the report.
Verified as described.
Please note this issue is happening with upstream 8.0.35 as well & upstream url is attached to report.

Details

Assignee

Reporter

Needs QA

Yes

Priority

Smart Checklist

Created November 1, 2023 at 8:43 AM
Updated March 6, 2024 at 9:30 AM