Skip to content

Bug #83741 - InnoDB: Failing assertion: lock->magic_n == 22643 #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

elshadaghazade
Copy link

I did not find any explanation or documentation about ib_create_table_fail_at_create_index debug parameter.

DBUG_EXECUTE_IF(
"ib_create_table_fail_at_create_index",
len = DICT_MAX_FIELD_LEN_BY_FORMAT(table) + 1;
);

It seems these debug condition was used for testing some errors during development, but was forgotten to delete later.

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

elshad and others added 3 commits July 28, 2015 02:16
I did not find any explanation or documentation about ib_create_table_fail_at_create_index debug parameter. 

DBUG_EXECUTE_IF(
  "ib_create_table_fail_at_create_index",
   len = DICT_MAX_FIELD_LEN_BY_FORMAT(table) + 1;
);

It seems these debug condition was used for testing some errors during development, but was forgotten to delete later.

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
@akopytov
Copy link

akopytov commented Nov 12, 2016

ib_create_table_fail_at_create_index is used by mysql-test/suite/innodb/t/innodb_wl6469_debug.test for error injection.

@ShahriyarR
Copy link

@akopytov so this must be only affected with Temp tables?

dbussink pushed a commit to planetscale/mysql-server that referenced this pull request Mar 6, 2024
…grams without writing to system tables (mysql#111)

* New `ANALYZE TABLE ... QUERY HISTOGRAM` syntax to fetch histograms without writing to system tables (mysql#109)

* ANALYZE TABLE ... QUERY HISTOGRAM

Signed-off-by: Shlomi Noach <[email protected]>

* validate 'WITH [n] BUCKETS' syntax works

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>

* New `ANALYZE TABLE ... QUERY HISTOGRAM` syntax to fetch histograms without writing to system tables (mysql#109)

* ANALYZE TABLE ... QUERY HISTOGRAM

Signed-off-by: Shlomi Noach <[email protected]>

* validate 'WITH [n] BUCKETS' syntax works

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>
dbussink pushed a commit to planetscale/mysql-server that referenced this pull request May 21, 2024
…grams without writing to system tables (mysql#111)

* New `ANALYZE TABLE ... QUERY HISTOGRAM` syntax to fetch histograms without writing to system tables (mysql#109)

* ANALYZE TABLE ... QUERY HISTOGRAM

Signed-off-by: Shlomi Noach <[email protected]>

* validate 'WITH [n] BUCKETS' syntax works

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>

* New `ANALYZE TABLE ... QUERY HISTOGRAM` syntax to fetch histograms without writing to system tables (mysql#109)

* ANALYZE TABLE ... QUERY HISTOGRAM

Signed-off-by: Shlomi Noach <[email protected]>

* validate 'WITH [n] BUCKETS' syntax works

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>
dbussink pushed a commit to planetscale/mysql-server that referenced this pull request May 21, 2024
…grams without writing to system tables (mysql#111)

* New `ANALYZE TABLE ... QUERY HISTOGRAM` syntax to fetch histograms without writing to system tables (mysql#109)

* ANALYZE TABLE ... QUERY HISTOGRAM

Signed-off-by: Shlomi Noach <[email protected]>

* validate 'WITH [n] BUCKETS' syntax works

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>

* New `ANALYZE TABLE ... QUERY HISTOGRAM` syntax to fetch histograms without writing to system tables (mysql#109)

* ANALYZE TABLE ... QUERY HISTOGRAM

Signed-off-by: Shlomi Noach <[email protected]>

* validate 'WITH [n] BUCKETS' syntax works

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>
hustjieke added a commit to hustjieke/mysql-server that referenced this pull request Sep 4, 2024
[summary]
As var SHANNON_MAX_POPULATION_BUFFER_SIZE type is uint64, but MYSQL_SYSVAR_ULONG is used, fixed it with MYSQL_SYSVAR_ULONGLONG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants