Giter Club home page Giter Club logo

deta_database's Issues

About Fix.

Hi all,

  1. ExecPLSQLImp.java
    At the 52st line, please add this

if(null!= acknowledge) {
if(output.get("start").toString().equals("1")) {
PLSQLCommandImp.processExec(acknowledge, output, mod);
}
}

above on

PLSQLCommandImp.processCheck(output.get("newCommand").toString(), output, mod);

this line.

by the way, makes value of 'acknowledge' out of the inner container will be ok for running。

  1. CreateTablesImp.java
    At the 30st line, please change this as below:

String tableSpecPath = DBPath + "/spec";
String tableRowsPath = DBPath + "/rows";

into

String tableSpecPath= tablePath + "/spec";
String tableRowsPath= tablePath + "/rows";

to avoid the unknown table name exception.

get any questions please let me know ASAP.

Cheers,
Yaoguang,

关于下一个开发主题

这个数据库系统的简单逻辑功能已经规范化了,下一步就是工程应用中扩展它,
大体会分为3点:
1 增加更多简洁有效的PLSQL命令集合。
2 存储数据加密。
3 权限系统优化。

will use gzip for writing plsql logs

public static void writeLogFile(String plsql) {
	checkCurrentFileRange();
	//zip text string and write; im thinking about a new method to make string write small.
}

private static void checkCurrentFileRange() {
	//if currentfiletime - currenttime > 1 day
	//if currentfilesize > 100mb
	//makenew file;
}

@SuppressWarnings("unused")
private static void coverageByTime(String time) {
	//loop unzip loggers,
	//find point of time,and start read and exec the plsql from the loggers.
	File file = new File(logCategoryPath);
	if(file.isDirectory()) {
		File[] files=file.listFiles();
		//...
	}
}

make nest join table for plsql update

tableName:test:update;
culumnValuedate19850525;
culumnValue:date1:19850526;
condition:or:testCulumn1|<|20:testCulumn2|==|fire;
condition:and:testCulumn1|>|100:testCulumn2|==|fire;
tableName:utest:nest;
condition:and:uCulumn3|<|20;
relation:and:testCulumn1|==|uCulumn1:testCulumn2|!=|uCulumn2;

make semi selection with thin join tables sample

setRoot:C:/DetaDB;
baseName:backend;
tableName:usr:select;
condition:or:u_id|<=|3:u_id|>|7;
condition:and:u_email|!equal|321:u_name|!equal|123;
getCulumns:u_id|as|detaId:u_email|as|detaEmail;
join:backend:usrToken;
condition:and:u_level|equal|low;
getCulumns:u_id|as|sId:u_level:u_password|as|SSID;
relation:and:detaId|==|sId;
aggregation:limit:0|~|1;

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.