Giter VIP home page Giter VIP logo

Comments (5)

kristapsdz avatar kristapsdz commented on May 30, 2024

from openradtool.

kristapsdz avatar kristapsdz commented on May 30, 2024

If the given fix addresses this (it does by my tests), close the issue and I'll get it into a release. Thanks again!

from openradtool.

nonrecursive avatar nonrecursive commented on May 30, 2024

While it has fixed my ordering problem (thank you for that!), the fix appears to have introduced a new bug:

In the iterate statements, the string literal in the generated code does not get terminated properly anymore:

Take:

struct test {
  field id int rowid;
  iterate;
};

kwebapp-c-source produces this code:

static	const char *const stmts[STMT__MAX] = {
	/* STMT_TEST_BY_UNIQUE_id */
	"SELECT " DB_SCHEMA_TEST(test) " FROM test WHERE test.id = ?",
	/* STMT_TEST_BY_SEARCH_0 */
	"SELECT " DB_SCHEMA_TEST(test) " FROM test,               /* <-----!!!!!, missing '\"' */
	/* STMT_TEST_INSERT */
	"INSERT INTO test DEFAULT VALUES",
};

from openradtool.

kristapsdz avatar kristapsdz commented on May 30, 2024

My CVS->GitHub script is currently broken, so I can't reflect this here, but I just put up a version on the website that addresses both points. If it works for you, close out the issue! And thanks for taking the time to report.

from openradtool.

nonrecursive avatar nonrecursive commented on May 30, 2024

It's working now. Thanks a lot.

from openradtool.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.