mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 07:40:19 +00:00
protect against MariaDB crash
This commit is contained in:
@@ -1229,7 +1229,7 @@ class LoadingSurvex:
|
|||||||
reftxt = refline.groups()[0] # only one item in this tuple
|
reftxt = refline.groups()[0] # only one item in this tuple
|
||||||
if reftxt:
|
if reftxt:
|
||||||
# only store it if not an empty string
|
# only store it if not an empty string
|
||||||
survexblock.ref_text = reftxt
|
survexblock.ref_text = reftxt[:399] # truncate or MariaDB crashes on databaseReset !
|
||||||
survexblock.save()
|
survexblock.save()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user