From 931e9a4c90a20236a73b3b07255a0c3b479f0265 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Tue, 17 Sep 2024 16:06:34 +0800 Subject: [PATCH] MDL-83153 core: tmpcommit --- lib/db/upgradelib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/db/upgradelib.php b/lib/db/upgradelib.php index 0b3c1358122c..0ceaff304203 100644 --- a/lib/db/upgradelib.php +++ b/lib/db/upgradelib.php @@ -1853,6 +1853,7 @@ function upgrade_change_binary_column_to_int( $columns = $DB->get_columns($tablename); $toconvert = $columns[$fieldname]; + print_object($toconvert); if (str_contains(strtolower($toconvert->type), 'int')) { // Nothing to do if the field is already an integer-type. debugging("The '$fieldname' column is already an integer-type column.", DEBUG_DEVELOPER);