Skip to content

Commit e119e4b

Browse files
committed
fix typo of variable name
1 parent 20db26f commit e119e4b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

DirectSQL/SqlResult.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class SqlResult:IDisposable
2525
/// <summary>
2626
/// variable not to execute not needed initialization
2727
/// </summary>
28-
private bool _allowInitlialize;
28+
private bool _allowInitialize;
2929

3030
/// <summary>
3131
/// Reader in ADO.NET
@@ -144,7 +144,7 @@ internal SqlResult (
144144

145145
_command.Transaction = transaction;
146146

147-
_allowInitlialize = true;
147+
_allowInitialize = true;
148148

149149
}
150150

@@ -158,7 +158,7 @@ public bool Next()
158158
_resultValues = null;
159159
_resultTuples = null;
160160

161-
_allowInitlialize = true;
161+
_allowInitialize = true;
162162

163163
return _reader.Read();
164164

@@ -167,13 +167,13 @@ public bool Next()
167167

168168
internal void Init()
169169
{
170-
if (_allowInitlialize)
170+
if (_allowInitialize)
171171
{
172172
if (_reader != null)
173173
_reader.Close();
174174

175175
_reader = _command.ExecuteReader();
176-
_allowInitlialize = false;
176+
_allowInitialize = false;
177177
}
178178
}
179179

0 commit comments

Comments
 (0)