Commit 06b776f9 authored by unknown's avatar unknown

data0data.c:

  Do not test a magic number with =, use == instead :)


innobase/data/data0data.c:
  Do not test a magic number with =, use == instead :)
parent c6d91e00
...@@ -114,8 +114,8 @@ dtuple_datas_are_ordering_equal( ...@@ -114,8 +114,8 @@ dtuple_datas_are_ordering_equal(
ulint i; ulint i;
ut_ad(tuple1 && tuple2); ut_ad(tuple1 && tuple2);
ut_ad(tuple1->magic_n = DATA_TUPLE_MAGIC_N); ut_ad(tuple1->magic_n == DATA_TUPLE_MAGIC_N);
ut_ad(tuple2->magic_n = DATA_TUPLE_MAGIC_N); ut_ad(tuple2->magic_n == DATA_TUPLE_MAGIC_N);
ut_ad(dtuple_check_typed(tuple1)); ut_ad(dtuple_check_typed(tuple1));
ut_ad(dtuple_check_typed(tuple2)); ut_ad(dtuple_check_typed(tuple2));
...@@ -306,7 +306,7 @@ dtuple_validate( ...@@ -306,7 +306,7 @@ dtuple_validate(
ulint i; ulint i;
ulint j; ulint j;
ut_a(tuple->magic_n = DATA_TUPLE_MAGIC_N); ut_ad(tuple->magic_n == DATA_TUPLE_MAGIC_N);
n_fields = dtuple_get_n_fields(tuple); n_fields = dtuple_get_n_fields(tuple);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment