mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-19 06:17:15 +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
|
||||
if reftxt:
|
||||
# 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()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user