You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connected to server version 8.0.38 (compatible login)
Error: 60 = Out of range value for column 'mc_cpm_min' at row 2. (insert decimal into int field)
Disconnected.
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
the problem is not my bad query is a panic
this exception or truncate data or not insert a data
On Mon, Aug 5, 2024 at 11:47 Gufo Rosso ***@***.***> wrote:
Connected to server version 8.0.38 (compatible login)
Error: 60 = Out of range value for column 'mc_cpm_min' at row 2. (insert
decimal into int field)
Disconnected.
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was
unhandled.
the problem is not my bad query is a panic
this exception or truncate data or not insert a data
—
Reply to this email directly, view it on GitHub
<#234>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6SHYCF4DRRTD67W37VV7DZP6NBFAVCNFSM6AAAAABMASGKOGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DQOBZGE2DCMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Hi. I missed it the first time. The error says you are inserting a decimal into an int field. That won’t work and will throw the error if the range of the whole number exceeds the max value. I suggest either changing the field type and adding error handling to avoid rounding/truncation errors. Hope this helps.
Activity
ChuckBell commentedon Aug 13, 2024
Red-Owl commentedon Aug 14, 2024
CREATE TABLE
geiger(MCBIGINT UNSIGNED NOT NULL AUTO_INCREMENT,mc_ippyCHAR(16) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',mc_dateDATETIME(6) NULL DEFAULT NULL,mc_sessionVARCHAR(45) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',mc_cpm_minMEDIUMINT UNSIGNED NULL DEFAULT NULL,mc_usv_minDECIMAL(20,6) UNSIGNED NULL DEFAULT NULL,mc_modelVARCHAR(45) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',mc_serialVARCHAR(45) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',mc_versionVARCHAR(45) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',mc_epoqBIGINT NULL DEFAULT NULL,PRIMARY KEY (
MC) USING BTREE)
COLLATE='utf8mb4_unicode_ci'
ENGINE=InnoDB
AUTO_INCREMENT=2954
;
ChuckBell commentedon Sep 6, 2024
Red-Owl commentedon Sep 8, 2024
.... Panic bad query create a guru meditation. Bad query return error id or message. Not crash.