Commits

Inside Zhou committed 43b665a

让QueryPlan的结果集都带上隐式的行号。

  • Participants
  • Parent commits 4160ddc

Comments (0)

Files changed (1)

File Sql/QueryPlan.cs

 				txt.Remove(txt.Length - 1, 1);
 			}
 
-			if(queryPlan._offset > 0) {
+			if(queryPlan._offset >= 0) {
 				txt.Insert(0, string.Format(@"SELECT * FROM (
 SELECT {0}.*, ROWNUM AS ""{1}"" FROM (
 ", tbAlias, Rownum));