摘要: 有序性 import org.junit.jupiter.api.Test; public class T { //flag初始值 static boolean flag = false; @Test public void business() { new Thread(() -> { //①资源 阅读全文
posted @ 2024-09-30 20:25 干饭达人GoodLucy 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 环境 drop table if exists user; create table user( id int primary key not null, roleId int not null, name varchar(20) not null, age int not null, sex ch 阅读全文
posted @ 2024-09-20 13:49 干饭达人GoodLucy 阅读(1) 评论(0) 推荐(0) 编辑
摘要: drop table if EXISTS user; create table user( id int primary key,name VARCHAR(20),age int ); insert into user values (1,'xz',10),(2,'xz2',12); -- inno 阅读全文
posted @ 2024-09-19 18:48 干饭达人GoodLucy 阅读(1) 评论(0) 推荐(0) 编辑
摘要: user表:存储了用户信息和用户权限 db:用户对某个数据库操作的权限 tables_priv:某个主机上某个用户对某个库上表的操作权限 # 查看表的结构 desc user; desc db; desc tables_priv; # 建表sql show create table user; sh 阅读全文
posted @ 2024-09-19 09:59 干饭达人GoodLucy 阅读(1) 评论(0) 推荐(0) 编辑
摘要: eval EVAL script numkeys key [key ...] arg [arg ...] script:lua脚本字符串,这段Lua脚本不需要(也不应该)定义函数。 numkeys:lua脚本中【KEYS数组】的大小 key [key ...]:KEYS数组中的元素 arg [arg 阅读全文
posted @ 2024-09-05 13:58 干饭达人GoodLucy 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 最左前缀法则 CREATE INDEX idx_age_classid_name ON student(age,classId,name); show index from student; -- 1【索引部分生效】 -- 索引部分生效age key=idx_age_classid_name,key 阅读全文
posted @ 2024-09-03 12:03 干饭达人GoodLucy 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 删除项目更目录.git 解除绑定 阅读全文
posted @ 2024-08-30 14:20 干饭达人GoodLucy 阅读(3) 评论(0) 推荐(0) 编辑
摘要: E:\my-springcloud\.idea\workspace.xml <component name="RunDashboard"> <option name="configurationTypes"> <set> <option value="SpringBootApplicationCon 阅读全文
posted @ 2024-08-30 12:09 干饭达人GoodLucy 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Log package com.fh.annotation; import java.lang.annotation.*; @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionP 阅读全文
posted @ 2024-08-20 11:14 干饭达人GoodLucy 阅读(3) 评论(0) 推荐(0) 编辑
摘要: javap -v T //主要用于查看类的详细结构,帮助理解类的组成和依赖关系。‌ 提供了详细的输出,包括类的版本信息、当前类所依赖的类、包名、访问权限、构造方法、实例字段和方法等详细信息。此外,它还可以显示内部类型签名、常量池中的类型以及字段和方法的相关信息。 javap -c T.class / 阅读全文
posted @ 2024-08-20 07:13 干饭达人GoodLucy 阅读(2) 评论(0) 推荐(0) 编辑