Skip to content

Commit 4cfd50a

Browse files
committed
Use "'" not '"'
1 parent 1521111 commit 4cfd50a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inst/@octave_sqlite/sqlupdate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function sqlupdate (db, tablename, data, filter, varargin)
133133
if isnumeric(v)
134134
v = num2str(v);
135135
else
136-
v = ['"' v '"'];
136+
v = ["'" v "'"];
137137
endif
138138

139139
sql = [sql cols{col} " = " v];

inst/@octave_sqlite/sqlwrite.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function sqlwrite (db, tablename, data, varargin)
145145
if isnumeric(v)
146146
v = num2str(v);
147147
else
148-
v = ['"' v '"'];
148+
v = ["'" v "'"];
149149
endif
150150
values = [values v];
151151

0 commit comments

Comments
 (0)