Bug 2480

Summary: Use SQLite prepared statements
Product: ns-3 Reporter: Alexander Krotov <krotov>
Component: statsAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Proposed patch
Proposed patch

Description Alexander Krotov 2016-08-21 19:14:34 UTC
Created attachment 2549 [details]
Proposed patch

Using prepared statements allows to use "'" character in experiment names, avoids losing precision for doubles due to conversion to string and should be a bit faster.
Comment 1 Alexander Krotov 2016-08-21 19:17:06 UTC
Created attachment 2550 [details]
Proposed patch

Small fix: replaced -1 with "variable.length ()".
Comment 2 Tom Henderson 2016-08-28 11:24:44 UTC
pushed in changeset 12275:ff7a8974e445